As soon as the status is updated in the GMS system, the delivery report is sent to your URL in JSON format.
If the sent Message matches the template, you receive the template ID in the “matching_template_id” field:
{
"time": 1477417294667,
"substatus": 23,
"status": 2,
"sent_via": "viber",
"number": "380961111111",
"message_id": "9f60ac8f-e721-5027-b838-e6fcb95fcd7a",
"matching_template_id": 6349599,
"hyber_status": 23043,
"extra_id": "AD-6640-7006"
}
If the Message does not match the template, you receive the value 0 in the field “matching_template_id”:
{
"time": 1477417294667,
"substatus": 23,
"status": 2,
"sent_via": "viber",
"number": "380961111111",
"message_id": "9f60ac8f-e721-5027-b838-e6fcb95fcd7a",
"matching_template_id": 0,
"hyber_status": 23033,
"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.