Receive single delivery reports

JSON

As soon as the status is updated in the GMS system, the delivery report is sent to your URL in JSON format.
The report contains the final status of the Message. The only exception is the “seen” status for Viber and WhatsApp channels. To receive them, you need to request a report using the GET method (Get Single Message Delivery Report). Example of report:

{
  "number": 380961111111,
  "sent_via":"sms",
  "message_id":9f60ac8f-e721-5027-b838-e6fcb95fcd7a",
  "time":1477417294667,
  "status":2,
  "substatus":23,
  "hyber_status":23011,
  "extra_id": "AD-6640-7006"
}

The HTTP Status 200 (OK) status code indicates that the request has been processed successfully on server.
A description of the report parameters is provided in the Description Of The Request Parameters section.

XML

As soon as the status is updated in the GMS system, the delivery report is sent to your URL in XML format.
The report contains the final status of the Message. The only exception is the “seen” status for Viber and WhatsApp channels. To receive them, you need to request a report using the GET method (Get Single Message Delivery Report). Example of report:

<?xml version="1.0" encoding="UTF-8"?>
<DeliveryReport>
  <status>2</status>
  <substatus>23</substatus>
  <hyber_status>23011</hyber_status>
  <last_partner>sms</last_partner>
  <message_id>9f60ac8f-e721-5027-b838-e6fcb95fcd7a</message_id>
  <phone_number>380961111111</phone_number>
  <time>1477417294667</time>
  <delivered_sms_parts>1</delivered_sms_parts>
  <extra_id>AD-6640-7006</extra_id>
</DeliveryReport>

The HTTP Status 200 (OK) status code indicates that the request has been processed successfully on server.
A description of the report parameters is provided in the Description Of The Request Parameters section.