Validate a one-time passcode (OTP) sent by SMS. This API is used to verify the SMS OTP sent to the user. The phone number will be added to the user profile and marked as verified. The endpoint will not authenticate the user (or create new users), and no tokens are returned.
Required permissions: apps:execute, [appId]:execute, auth:execute.
Security
ClientAccessToken
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/users/{user_id}/phone/verification/verify
- US production environmenthttps://api.transmitsecurity.io/cis/v1/users/{user_id}/phone/verification/verify
- EU production environmenthttps://api.eu.transmitsecurity.io/cis/v1/users/{user_id}/phone/verification/verify
- CA production environmenthttps://api.ca.transmitsecurity.io/cis/v1/users/{user_id}/phone/verification/verify
- AU production environmenthttps://api.au.transmitsecurity.io/cis/v1/users/{user_id}/phone/verification/verify
- JP production environmenthttps://api.gasne1-ts01.transmitsecurity.io/cis/v1/users/{user_id}/phone/verification/verify
curl -i -X POST \
'https://api.sbx.transmitsecurity.io/cis/v1/users/{user_id}/phone/verification/verify' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"phone_number": "string",
"passcode": "string",
"update_primary": false
}'