Delivery Reports
Delivery Report API allows you to get the status of the message sent via Push API
One API request takes 10 seconds to complete the message delivery if there are no message queue in your phone. So please call this API after 1 minute from the time of message push. We highly recommend to setup Event Webhook to receive delivery reports as soon as its available and make use of this Delivery Report API only when you want to query the status of certain messages.
Delivery Report API
POST
https://pickyassist.com/app/api/v2/delivery-report
This API allows you to fetch delivery reports for the messages sent through Push API
Request Body
Name | Type | Description |
---|---|---|
token | string | Your API Token for authentication |
push_id | number | All Successful Push API requests gives you a push id as response , you need to use the |
Sample Request Body JSON
Sample Response
Response Variables
Variable | Type | Description |
status | numeric | Status of the Request, Refer Status Code |
error_message | text | Message description in case of any errors, Refer Status Code |
push_id | numeric | Unique id given by the PUSH API response |
project_id | numeric | Unique id of the project |
application | numeric | Through which application the message has been triggered 1 = Whatsapp Personal 2 = Whatsapp Business 8 = WhatsApp Official |
message_type | numeric | Type of message 1 = image 2 = video 3 = text 4 = audio 5 = document |
time | time | Timezone in your account , and date format is DD-MM-YYYY hh:mm AM |
data | Array | Array containing the delivery report |
msg_id | numeric | Unique Message ID allocated to each number |
number | numeric | Number Passed in the Push API |
status | numeric | 0 = Unknown 1 = Delivered 2 = Failed 3 = Read (Not supported in phone automation, if user privacy is on then this status will not get update) |
error_code | numeric | Future Scope |
error_message | text | Future Scope |
Last updated