Skip to main content
POST
/
api
/
v2
/
verification
/
phone-verification-v2
/
send
Send SMS Verification Message
curl --request POST \
  --url https://{environment-subdomain}.idmetagroup.com/api/v2/verification/phone-verification-v2/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "country_code": "<string>",
  "phone_number": "<string>",
  "otp": "<string>",
  "template_id": "{your_trust_flow_id}",
  "verification_id": "{your_created_verification_id}"
}
'
{
  "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"
    }
  }
}

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.

Authorizations

Authorization
string
header
required

Use Bearer {your_api_token} in the Authorization header.

Headers

Accept
string
default:application/json
Content-Type
string
default:application/json

Body

application/json
country_code
string
required

Country dialing code (for example, +60).

phone_number
string
required

Recipient phone number without country code.

template_id
string
required

Identifier used to categorize or group requests for tracking or reporting.

verification_id
string
required

A unique ID used to identify your verification request.

otp
string

One-time passcode sent by SMS.

Response

200 - application/json

SMS verification message sent successfully

status
boolean
message
string
result
object