WebHook for sent message statuses


To enable WebHook for the status of sent messages, you need to go to the device settings and specify the URL address where you need to send http requests.


WebHook with Sent Status:
When this parameter is enabled, an http request will be sent, upon receipt of the "Sent" status.

WebHook with Delivered Status:
When this parameter is enabled, an http request will be sent when the status is "Delivered". If you set only this parameter, the event will occur only when the status is "Delivered"!

If the status "Sent" and "Delivered" came to our site at the same time, then you will receive not two separate http requests, but only one!

Example of sent parameters POST:
"id":"822182788"  // Message id
"id_device":"6350" // Device id
"phone":"+192048....." // Phone number
"msg":"Test" // Message text
"is_send":"1" // Sent Status (0 - No, 1 - Yes)
"send_date":"2020-04-06 17:03:35" // Sent Status Date
"is_delivered":"1" // Delivered Status (0 - No, 1 - Yes)
"delivered_date":"2020-04-06 17:03:44" // Delivered Status Date