Webhooks
chat.notification.created
API
- Introduction
- Authorization
- Objects
Chat APIs
Group Settings APIs
Message APIs
Webhooks
chat.notification.created
The chat.notification.created
webhook is triggered when any action is performed on a chat. For e.g. when a member is added or removed from a chat, when group settings is updated.
{
"org_id": "2997dd64-89bf-48d3-9a22-b314fca017e5",
"notification_id": "true_120363371308389685@g.us_fa3c48a78cc64e139e5737f7057235ea_918527184400@c.us_remove",
"chat_id": "120363371308389685@g.us",
"author": "918527184400@c.us",
"body": null,
"id": {
"id": "fa3c48a78cc64e139e5737f7057235ea",
"fromMe": true,
"remote": "120363371308389685@g.us",
"serialized": "true_120363371308389685@g.us_fa3c48a78cc64e139e5737f7057235ea_918527184400@c.us_remove"
},
"recipientids": [
"919537851844@c.us"
],
"type": "remove",
"timestamp": "2025-01-11T11:52:27.231+00:00",
"org_phone": "918527184400@c.us",
"unique_id": "fa3c48a78cc64e139e5737f7057235ea"
}
{
"org_id": "2997dd64-89bf-48d3-9a22-b314fca017e5",
"notification_id": "true_120363371308389685@g.us_fa3c48a78cc64e139e5737f7057235ea_918527184400@c.us_remove",
"chat_id": "120363371308389685@g.us",
"author": "918527184400@c.us",
"body": null,
"id": {
"id": "fa3c48a78cc64e139e5737f7057235ea",
"fromMe": true,
"remote": "120363371308389685@g.us",
"serialized": "true_120363371308389685@g.us_fa3c48a78cc64e139e5737f7057235ea_918527184400@c.us_remove"
},
"recipientids": [
"919537851844@c.us"
],
"type": "remove",
"timestamp": "2025-01-11T11:52:27.231+00:00",
"org_phone": "918527184400@c.us",
"unique_id": "fa3c48a78cc64e139e5737f7057235ea"
}
Refer Chat Notification object to find more details about chat notification object
.
Event structure 📦
You’ll be receiving the data in the following format:
{
"event": "<event-type>",
"data": "<event-data>", // complete data object as mentioned in Objects section
"org_id": "<your-organisation-id>",
"previous_attributes": "<previous-attributes>", // attributes changes in new object. In case of an update event.
"timestamp": "<timestamp>" // timestamp of the event creation
}
Was this page helpful?
{
"org_id": "2997dd64-89bf-48d3-9a22-b314fca017e5",
"notification_id": "true_120363371308389685@g.us_fa3c48a78cc64e139e5737f7057235ea_918527184400@c.us_remove",
"chat_id": "120363371308389685@g.us",
"author": "918527184400@c.us",
"body": null,
"id": {
"id": "fa3c48a78cc64e139e5737f7057235ea",
"fromMe": true,
"remote": "120363371308389685@g.us",
"serialized": "true_120363371308389685@g.us_fa3c48a78cc64e139e5737f7057235ea_918527184400@c.us_remove"
},
"recipientids": [
"919537851844@c.us"
],
"type": "remove",
"timestamp": "2025-01-11T11:52:27.231+00:00",
"org_phone": "918527184400@c.us",
"unique_id": "fa3c48a78cc64e139e5737f7057235ea"
}