Notification Webhook
Business needs to provide the end point URL where the notifications of Message status will be sent.
API Endpoint
Provided by the business
Authentication methods supported
Both Basic and Bearer Token methods are supported. If Basic method is chosed, business needs to set the username and password. In case of Bearer method, the corresponding token will be configured by the business.
Request Body
{
"messageId": "whatsapp-message-id",
"status": "read",
"sentAt": "epochTime",
"deliveredAt": "epochTime",
"readAt": "epochTime",
"failedAt": "epochTime",
"failureReason": "reason if failed",
"failureDetails": "detail about the failure"
}
Properties
Placeholder | Tpyes |
---|---|
status | read , failed , sent , delivered |
Response
- HTTP Status Code: 200 OK (successful), 4xx/5xx (error)