> ## 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/openapi.json POST /api/v3/verifications/phone-verification/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: Trust Flow Links
    description: Trust Flow link generation endpoints
  - name: Compliance
    description: Compliance verification endpoints
  - name: Government Data
    description: Government data verification endpoints
  - name: Alternative Verifications
    description: Alternative verification and intelligence endpoints
  - name: OCR
    description: Document OCR extraction endpoints
paths:
  /api/v3/verifications/phone-verification/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: ''
                  trustFlowId: 0
                  trustValidationId: '{your_trust_validation_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:
                success: true
                message: Phone verification processed successfully
                data:
                  referenceId: 0123456789ABCDEF0123456789ABCDEF
                  submitTime: '2026-05-14T10:01:00.000Z'
                  status:
                    code: 200
                    description: Verify success
                  verify:
                    codeState: VALID
                    inputPhoneNumber: '+60182258491'
                verificationStatus: VERIFIED
                verificationStatusCode: 3
                trustFlowId: 0
                trustValidationId: '{your_trust_validation_id}'
                verificationType: sms_verification
                metadata: null
components:
  schemas:
    SmsVerificationVerifyRequest:
      type: object
      required:
        - otp
        - trustFlowId
        - trustValidationId
      properties:
        otp:
          type: string
          description: One-time passcode submitted by the user.
        ref_id:
          type: string
          description: Optional reference identifier returned by the send step.
        country_code:
          type: string
          description: >-
            Optional country dialing code (for example, `+60`). Include if not
            already bound in session context.
        phone_number:
          type: string
          description: >-
            Optional phone number without country code. Include if not already
            bound in session context.
        trustFlowId:
          type: integer
          description: >-
            Trust flow identifier used to categorize or group requests for
            tracking or reporting.
        trustValidationId:
          type: string
          description: Trust validation identifier for the verification request.
    SmsVerificationVerifyResponse:
      type: object
      description: Successful response after verifying an SMS OTP (v3).
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
          properties:
            referenceId:
              type: string
              description: Reference identifier tying this result to the send step.
            submitTime:
              type: string
              format: date-time
              description: When the verify request was processed.
            status:
              type: object
              properties:
                updatedOn:
                  type: string
                  format: date-time
                  description: Present when the provider returns a last-updated timestamp.
                code:
                  type: integer
                  description: Provider-specific status code for the verify step.
                description:
                  type: string
            verify:
              type: object
              properties:
                codeState:
                  type: string
                  description: Outcome of the submitted OTP (for example, VALID).
                inputPhoneNumber:
                  type: string
                  description: Phone number that was verified.
        verificationStatus:
          type: string
        verificationStatusCode:
          type: integer
        trustFlowId:
          type: integer
        trustValidationId:
          type: string
        verificationType:
          type: string
          example: sms_verification
        metadata:
          type: object
          nullable: true
          additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use `Bearer {your_api_token}` in the Authorization header.

````