Sending FLASHCALL
Sending FLASHCALL messages
POST
https://direct.revicom.ltd/api/v1/message
The method allows for sending an array of single messages (1 to 1,000)
Headers
Authorization*
string
Basic {TOKEN_1}
Content-Type*
string
application/json
Request Body
channelType*
string
Sending channel (FLASHCALL
)
senderName*
string
Sender name. Any string is allowed. The call will come from a number, the last digits being the sent code.
destination*
string
Subscriber number
content*
string
Numerical code, 4 symbols
tags
array
Message tags (array of strings). Each tag must match the expression ^\w+$
(any case letters, numbers and underscore "_" are allowed)
callbackUrl
string
Address to send callback
callbackEvents
array
Events to send callback (an array of strings). If there is callbackUrl
and no callbackEvents
in the request, a callback will be sent on the event delivered
.
If the request is successful, a response is returned that lists the message IDs and result codes. With errors = false, all submitted messages are guaranteed to have been successfully generated.
If you need to use codes consisting of more than four digits, please contact customer support.
Recommended minimum timeout: 70 seconds
Enumerations:
callbackEvents
Request example
Sending FLASHCALL conversion
POST
https://direct.i-dgtl.ru/api/v1/flashcall-conversion
The method is used to report the correctness of the user-entered code sent in a FLASHCALL message
Headers
Authorization*
string
Bearer {TOKEN_1}
Content-Type*
string
application/json
Request Body
messageUuid*
string
FLASHCALL message uuid
result*
string
Code entry result
Code approved: NUMBER_VERIFIERD
Invalid code: WRONG_CODE
code
string
Code
Enumerations:
result
FLASHCALL conversion result
Sending the conversion assists in improvement of the quality of sending FLASHCALL-messages
Request example
Last updated