SMS Delivery Report (DLR)
The event ‘sms.delivery’ sends on dlr_code changes. This allows you to find out whether an SMS has been successfully delivered, rejected, or is still being delivered.
Each SMS has a delivery report code Webhook notifications
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Unique entity UUID
Version of the notification webhook data structure
Webhook’s event name
Timestamp when the entity was added to the system by the user
Total number of notification webhook delivery attempts
Current webhook notification attempt number
Event-specific data payload
object
Notification task identifier (request identifier)
Data for sms.delivery and sms.delivery.dryrun events
object
Unique entity UUID
API key identifier
Status of the SMS delivery from gateway
Status of the sms. For more info see SMS status codes
String which will be send back to your endpoint. E.g. it can be usable to pass your system message id.
Examples
SMS Delivery Event
Event sent when SMS delivery status changes
{ "id": "a3cd6e19-8af2-498d-ad07-c7840f1b4ac8", "api_version": "2022-05-25", "name": "sms.delivery", "created_at": 1653378603, "attempt_total": 4, "attempt_number": 1, "data": { "id": "d6c12ac4-cc7d-11ec-b6da-525400bbb7dc", "key_id": 8207, "dlr_code": 1, "status_code": 100, "callback_data": "some data from user's request here" }, "notification_task_id": "3378de83-de66-4de8-9d29-2b10d41bb641"}SMS Delivery Expired Event
Event sent when SMS delivery expires
{ "id": "a3cd6e19-8af2-498d-ad07-c7840f1b4ac8", "api_version": "2022-05-25", "name": "sms.delivery", "created_at": 1653378603, "attempt_total": 4, "attempt_number": 1, "data": { "id": "d6c12ac4-cc7d-11ec-b6da-525400bbb7dc", "key_id": 8207, "dlr_code": 8, "status_code": 100, "callback_data": "order-12345" }, "notification_task_id": "3378de83-de66-4de8-9d29-2b10d41bb641"}Responses
Section titled “ Responses ”Webhook received
Invalid webhook request’s body structure
Webhook request unauthorized
Webhook access forbidden
Webhook access forbidden
Server error