Flash Call Verify API

DecisionTelecom Flash Call Verify API le permite enviar verificaciones de llamadas flash a cualquier país del mundo a través de la API. El número de teléfono desde el cual se realizará la llamada entrante, contendrá el código requerido para la verificación, en los últimos 4-6 dígitos.

Cada llamada se identifica mediante una identificación aleatoria única.

La API Flash Call Verify utiliza HTTPS con clave de acceso que se utiliza como autorización de la API. Las cargas útiles de solicitud y respuesta se formatean como JSON con codificación UTF-8 y valores codificados en URL.

Autorización API: clave de acceso Base64.

Póngase en contacto con su administrador de cuenta para obtener una clave API.

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