This will help to fetch the status on basis of request-id
This API shall be used to fetch the status of any broadcast with respect to the Request ID or username.
Request ID will be received after the "template message" is sent with the variable request_id.
https://{{url}}/v5/webhook/broadcast_status.php?request_id=617796e851b6
or
https://wa20.nuke.co.in/v5/webhook/broadcast_status.php?username=shrinath&receiver=911234567890
Replace request_id with the received value.
{
"request_id" : "617796e851b6"
}
Example Response
[{"status":"sent","date":"2022-11-08","time":"21:22:49","template":"confirm_booking_19_n","webhook_status":"","request_id":"13100793636a7b5197f43","sender_reqid":""}]
Variables:
status: Either sent, delivered, read, 1, or failed.
webhook_status: If it is 1 then the webhook is triggered successfully.
template: template id
sender_reqid: Request ID or tracking id submitted during the "Send template message" API