Phone Services
Verification Service
Verification Service API Documentation
POST
For a usage description of the Verification Service, please refer to the Verification page.
Endpoint
POST/phone-service/verification
Swagger
Authorizations
Bearer token obtained from POST /auth. Valid for 60 minutes.
Body
application/json
- Option 1
- Option 2
The delivery method to use.
Available options:
sms, email Allowed value:
"sms"Example:
"email"
Recipient's phone number in international format, no spaces or special characters. Required if method = sms.
Required string length:
6 - 20Pattern:
^[0-9]+$Example:
"436501234567"
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.
Pattern:
^[0-9]{3,10}$Example:
"123456"
Customer-defined transaction ID. Max length: 100 characters.
Maximum string length:
100Example:
"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"