Endpoint
POST/phone-service/verification
Swagger
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Delivery method to use.
sms
, email
"sms"
Recipient's phone number in international format, no spaces or special characters. Required if method = sms.
"14155550123"
Recipient's email address. Required if method = email.
"user@example.com"
Custom numeric OTP (3–10 digits). If omitted, a 6-digit OTP is auto-generated.
"123456"
Customer-defined transaction ID. Max length: 100 characters.
100
"verifyRequest123"
Language code for OTP delivery (e.g., 'en-US'). Defaults to English if not provided.
"en-US"
Response
Successfully initiated verification.
Unique 32-character hex string that identifies the verification process.
"0123456789ABCDEF0123456789ABCDEF"
Current state of the verification process.
CREATED
, ONGOING
, REJECTED
, FAILED
, VERIFIED
, CANCELED
"CREATED"
The verification method used.
sms
, email
"sms"