SMS
Validate code
This endpoint allows you to validate a code received via SMS on a specified phone number. It requires a Bearer Token (JWT) for authentication, which can be generated using the endpoint “/external/generate_jwt”. The response format is outlined below.
POST
/
sms
/
validate-code
Headers
Origin
string
Client's domain (created during the integration key stage).
x-api-key
string
Generated through the POST request to the IntegrationTokens endpoint.
Query Parameters
phone
string
The phone number that received the validation code.
code
string
The code received on the phone number.
Body
multipart/form-data
message
string
phone
string