Delivery reports are making "packs". You can receive delivery reports in this way only once per message. If there is a need to re-receive the delivery report, you must use the method of obtaining message identifiers and request a delivery report for each identifier.
Requested by POST query, all parameters are transmitted in JSON format in the request body.
https://api.quantumtec.eu/v1/sms/report/bulk
| Parameter | Value |
|---|---|
| Content-Type | application/json |
| Accept | application/json |
| X-ApiKey | API key |
Parameters are sent in JSON format
| Parameter | Format | Usage | Description |
|---|---|---|---|
| bulkId | string | Mandatory | Specifies the campaign ID received when sending. |
| Limit | integer | Optional | Limits the number of delivery reports to be sent. In the absence of this parameter, the default value of 50 is used. Maximum value of 500 |
In response, a data set in JSON format will be sent.
| Parameter | Description |
|---|---|
| bulkId | Campaign ID |
| status |
Campaign status:
|
| deliveryResults | Data array containing a delivery report for each message |
| deliveryResults(messageID) | Message ID |
| deliveryResults(partId) | ID of the message part if the message is multipart |
| deliveryResults(state) |
Message delivery status:
|
| deliveryResults(delivered) | The time of receipt of the report delivery message in UTC. |
| deliveryResults(errorCode) | Error code (Not supported by all mobile operators) |