Endpoint
POST/phone-service/verification
Swagger
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
- Option 1
- Option 2
Recipient's phone number in international format, no spaces or special characters. Required if method = sms.
Required string length:
6 - 20
Example:
"436501234567"
The delivery method to use.
Available options:
Title | Const |
---|---|
sms |
Example:
"email"
Recipient's email address. Required if method = email.
Example:
"test@test.com"
A custom numeric OTP (3–10 digits). If omitted, a 6-digit OTP is auto-generated.
Example:
"123456"
Customer-defined transaction ID. Max length: 100 characters.
Maximum length:
100
Example:
"12312"
Optional template details for this verification.
Language code for OTP delivery (e.g., 'en-US'). Defaults to English if not provided.
Example:
"en-US"