Event Webhook Sample Request & Response

Here is the Sample Request & Response for quick deployment

In this method you will get data as JSON , you need to specify to push the data in JSON method while setting up Webhook URL

Delivery Report Event Update

POST Request
POST Request

POST https://yourdomain.com/event-webhook

{
"project_id":"3526",
"event_id":1,
"data":[
{
"push_id":"595536",
"number":"1543342290",
"msg_id":"1758142",
"status":"1"
},
{
"push_id":"595536",
"number":"323223902323",
"msg_id":"1758143",
"status":"2"
},
{
"push_id":"595536",
"number":"919846042290",
"msg_id":"1758144",
"status":"1"
}
]
}

WhatsApp Filter Event

POST Request
POST Request

POST https://yourdomain.com/event-webhook

{
"project_id": "3526",
"event_id": 2,
"data": [{
"push_id": "594290",
"number": "554343442290",
"msg_id": "1756371",
"status": "1"
},
{
"push_id": "594290",
"number": "98837938",
"msg_id": "1756372",
"status": "2"
}
]
}

WhatsApp Group Event

POST Request
POST Request

POST https://yourdomain.com/event-webhook

{
"project_id":"3526",
"event_id":3,
"action":1,
"group_id":"A3526",
"group_subject":"Test Group",
"number":"1494894894",
"application":8
}

New Subscriber Alert

POST Request
POST Request

POST https://yourdomain.com/event-webhook

{
"project_id":"6681",
"event_id":4,
"subscriber_id":"VP14314575",
"mobile":"919000000000",
"name":"",
"email":"",
"profile_pic":"",
"channel":"919737001155",
"message":"hi",
"date":"2020-05-29T16:01:06+05:30"
}

We dont listen / acknowledge/ expect any specific response from your side and there is no retry. In case if your application or server goes down for a particular period then please use our Report API to get the details during the period