> ## 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.

# Verify SMS Verification Message

> Verify the submitted SMS OTP and complete phone number verification.



## OpenAPI

````yaml api-reference-legacy/openapi.json POST /api/v2/verification/phone-verification-v2/verify
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/verify:
    post:
      tags:
        - Compliance
      summary: Verify SMS Verification Message
      description: Verify the submitted SMS OTP and complete phone number verification.
      operationId: verifySmsVerificationMessage
      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/SmsVerificationVerifyRequest'
            examples:
              default:
                summary: Verify SMS verification message
                value:
                  otp: <string>
                  ref_id: <string>
                  country_code: <string>
                  phone_number: <string>
                  template_id: '{your_trust_flow_id}'
                  verification_id: '{your_created_verification_id}'
      responses:
        '200':
          description: SMS verification completed successfully
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsVerificationVerifyResponse'
              example:
                status: true
                message: OK
                result:
                  reference_id: 3661783EEE8C0104919289F32793C687
                  sub_resource: sms
                  errors: []
                  status:
                    updated_on: '2025-07-31T01:20:39.675083Z'
                    code: 200
                    description: Delivered to handset
                  verify:
                    code_state: VALID
                    code_entered: '991903'
                  phone_evaluation_score: 0
components:
  schemas:
    SmsVerificationVerifyRequest:
      type: object
      required:
        - otp
        - template_id
        - verification_id
      properties:
        otp:
          type: string
          description: One-time passcode submitted by the user.
        ref_id:
          type: string
          description: Reference identifier returned by the send step.
        country_code:
          type: string
          description: Country dialing code (optional if already bound in session context).
        phone_number:
          type: string
          description: Phone number (optional if already bound in session context).
        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.
    SmsVerificationVerifyResponse:
      type: object
      properties:
        status:
          type: boolean
        message:
          type: string
        result:
          type: object
          additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use `Bearer {your_api_token}` in the Authorization header.

````