> ## Documentation Index
> Fetch the complete documentation index at: https://docs.idmetagroup.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send SMS Verification Message

> Send an OTP to a phone number for verification.



## OpenAPI

````yaml api-reference-legacy/openapi.json POST /api/v2/verification/phone-verification-v2/send
openapi: 3.0.3
info:
  title: IDmeta API
  description: IDmeta verification and integration API.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://{environment-subdomain}.idmetagroup.com
    description: Your environment (replace `{environment-subdomain}`)
    variables:
      environment-subdomain:
        default: integrate
        description: IDmeta environment subdomain
security:
  - bearerAuth: []
tags:
  - name: Processes
    description: Verification process endpoints
  - name: Compliance
    description: Compliance verification endpoints
  - name: Government Data
    description: Government data verification endpoints
paths:
  /api/v2/verification/phone-verification-v2/send:
    post:
      tags:
        - Compliance
      summary: Send SMS Verification Message
      description: Send an OTP to a phone number for verification.
      operationId: sendSmsVerificationMessage
      parameters:
        - name: Accept
          in: header
          required: false
          schema:
            type: string
            default: application/json
        - name: Content-Type
          in: header
          required: false
          schema:
            type: string
            default: application/json
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SmsVerificationSendRequest'
            examples:
              default:
                summary: Send SMS verification OTP message
                value:
                  country_code: <string>
                  phone_number: <string>
                  otp: <string>
                  template_id: '{your_trust_flow_id}'
                  verification_id: '{your_created_verification_id}'
      responses:
        '200':
          description: SMS verification message sent successfully
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsVerificationSendResponse'
              example:
                status: true
                message: OK
                result:
                  otp_result:
                    sessionId: 4da59cde2c2c47ffb01630de2aa65a7d
                    verifyUri: >-
                      /api/v2/subaccounts/IDmeta_Verif8/sessions/4da59cde2c2c47ffb01630de2aa65a7d
                    destination: '+60176415912'
                    status: WAITING
                    attempt: 0
                    expiresAt: '2026-04-22T02:21:47.45Z'
                    retryAfter: '2026-04-22T02:18:57.45Z'
components:
  schemas:
    SmsVerificationSendRequest:
      type: object
      required:
        - country_code
        - phone_number
        - template_id
        - verification_id
      properties:
        country_code:
          type: string
          description: Country dialing code (for example, +60).
        phone_number:
          type: string
          description: Recipient phone number without country code.
        otp:
          type: string
          description: One-time passcode sent by SMS.
        template_id:
          type: string
          description: >-
            Identifier used to categorize or group requests for tracking or
            reporting.
        verification_id:
          type: string
          description: A unique ID used to identify your verification request.
    SmsVerificationSendResponse:
      type: object
      properties:
        status:
          type: boolean
        message:
          type: string
        result:
          type: object
          properties:
            otp_result:
              type: object
              properties:
                sessionId:
                  type: string
                verifyUri:
                  type: string
                destination:
                  type: string
                status:
                  type: string
                attempt:
                  type: integer
                expiresAt:
                  type: string
                retryAfter:
                  type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use `Bearer {your_api_token}` in the Authorization header.

````