Receive delivery reports Webhook
Incoming Reports will be forwarded to this endpoint. Please specify the endpoint’s URL for each message via the webhooks > delivery > url parameter. Alternatively you can provide the endpoint’s URL to Customer Support and they will set it up for you. Contact support@infobip.com if you require help.
Request Body schema:
results required | Array of objects | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
|
Responses
Your server returns this code if it accepts the callback.
Request samples
- Payload
{- "results": [
- {
- "bulkId": "BULK-ID-123-xyz",
- "messageId": "45db39c3-7822-4e72-a3ec-c87442c0ffz9",
- "to": "41793026727",
- "sentAt": "2019-11-09T16:00:00.000+0000",
- "doneAt": "2019-11-09T16:00:00.000+0000",
- "messageCount": 1,
- "price": {
- "pricePerMessage": 0.01,
- "currency": "EUR"
}, - "status": {
- "groupId": 3,
- "groupName": "DELIVERED",
- "id": 5,
- "name": "DELIVERED_TO_HANDSET",
- "description": "Message delivered to handset"
}, - "error": {
- "groupId": 0,
- "groupName": "OK",
- "id": 0,
- "name": "NO_ERROR",
- "description": "No Error",
- "permanent": false
}, - "entityId": "my-entity-id",
- "applicationId": "my-application-id",
- "channel": "ZALO_NOTIFICATION_SERVICE"
}, - {
- "bulkId": "BULK-ID-123-xyz",
- "messageId": "12db39c3-7822-4e72-a3ec-c87442c0ffc5",
- "to": "41793026834",
- "sentAt": "2019-11-09T17:00:00.000+0000",
- "doneAt": "2019-11-09T17:00:00.000+0000",
- "messageCount": 1,
- "price": {
- "pricePerMessage": 0.01,
- "currency": "EUR"
}, - "status": {
- "groupId": 3,
- "groupName": "DELIVERED",
- "id": 5,
- "name": "DELIVERED_TO_HANDSET",
- "description": "Message delivered to handset"
}, - "error": {
- "groupId": 0,
- "groupName": "OK",
- "id": 0,
- "name": "NO_ERROR",
- "description": "No Error",
- "permanent": false
}, - "entityId": "my-entity-id",
- "applicationId": "my-application-id",
- "channel": "ZALO_NOTIFICATION_SERVICE"
}
]
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See