Flash Call Verify API
DecisionTelecom Flash Call Verify API allows you to send flash calls verifications to any country in the world via API. The phone number from which the incoming call will be made, will contain the required code for verification, in the last 4-6 digits.
Each call is identified by a unique random ID.
The Flash Call Verify API uses HTTPS with access key that is used as the API authorization. Request and response payloads are formatted as JSON using UTF-8 encoding and URL-encoded values.
API Authorization - Base64 access key.
Please contact your account manager to get an API key.
Send flash call verification
Auth: Basic Auth (api key)
https://web.it-decision.com/v1/api/flash-call
{
"phone":380631111111,
"sender":"Decision",
"text":1233,
"validity_period":2
}
phone int The telephone number that you want to do a network query on
sender string The sender of the message. This can be a mobile phone number (including a country code) or an alphanumeric string. The maximum length of alphanumeric strings is 11 characters.
validity_period int SMS lifetime min 2 minute max 4320
Text string Text consists only short code with 4-6 numbers
Response: Returns json string if the request was successful.
{
"id": 26381905,
"phone": 380631111111,
"status": "Accepted"
}
Id int - A unique random ID which is created on the DecisionTelecom platform.
status string – the status of the phone. Possible values: accepted, rejected, unknown, and failed
Example code :
curl --location 'https//:web.it-decision.com/v1/api/flash-call' \
--header 'Authorization: Basic api key' \
--header 'Content-Type: application/json' \
--data '{"phone":380631111111,"sender":"Decision","text":1233,"validity_period":2}'
Last updated