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 & Read Reports are not support for WhatsApp Groups

Delivery Report Event Update

POST Request
POST https://yourdomain.com/event-webhook
1
{
2
"project_id":"3526",
3
"event_id":1,
4
"data":[
5
{
6
"push_id":"595536",
7
"number":"1543342290",
8
"msg_id":"1758142",
9
"status":"1",
10
"reference_number": "Y12333"
11
},
12
{
13
"push_id":"595536",
14
"number":"323223902323",
15
"msg_id":"1758143",
16
"status":"2"
17
},
18
{
19
"push_id":"595536",
20
"number":"919846042290",
21
"msg_id":"1758144",
22
"status":"1"
23
}
24
]
25
}
Copied!

WhatsApp Filter Event

POST Request
POST https://yourdomain.com/event-webhook
1
{
2
"project_id": "3526",
3
"event_id": 2,
4
"data": [{
5
"push_id": "594290",
6
"number": "554343442290",
7
"msg_id": "1756371",
8
"status": "1"
9
},
10
{
11
"push_id": "594290",
12
"number": "98837938",
13
"msg_id": "1756372",
14
"status": "2"
15
}
16
]
17
}
Copied!

WhatsApp Group Event

POST Request
POST https://yourdomain.com/event-webhook
1
{
2
"project_id":"3526",
3
"event_id":3,
4
"action":1,
5
"group_id":"A3526",
6
"group_subject":"Test Group",
7
"number":"1494894894",
8
"application":8
9
}
Copied!

New Subscriber Alert

POST Request
POST https://yourdomain.com/event-webhook
1
{
2
"project_id":"6681",
3
"event_id":4,
4
"subscriber_id":"VP14314575",
5
"mobile":"919000000000",
6
"name":"",
7
"email":"",
8
"profile_pic":"",
9
"channel":"919737001155",
10
"message":"hi",
11
"date":"2020-05-29T16:01:06+05:30"
12
}
Copied!

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

Last modified 4mo ago