Groups
WhatsApp Cloud API Webhooks for Groups
The groups array contains all groups that were sent to the webhook URL. Sent on event "groups.post".
The groups participants event array contains all groups participants event that were sent to the webhook URL. Sent on event "groups.put"
The groups updates array contains all groups updates that were sent to the webhook URL. Sent on event "groups.patch"
You can find more details about all parameters and their types in the WebHook documentation. We mentioned more about the events here:
New group
You have been added to a group, or a group has been created with you. Use the groups.post setting to get this webhook.
{
"groups": [
{
"id": "120363271212442249@g.us",
"name": "Group name! 😃",
"type": "group",
"timestamp": 1713791253,
"participants": [
{
"id": "61371989950",
"rank": "member"
},
{
"id": "919984351847",
"rank": "creator"
}
],
"name_at": 1713791253,
"created_at": 1713791253,
"created_by": "919984351847"
}
],
"event": {
"type": "groups",
"event": "post"
},
"channel_id": "MANTIS-M72HC"
}New message in the group
Use the messages.post setting to get this webhook.
A new member has been added
Use the groups.put setting to get this webhook.
A new member joined via an invitation link
Participant removed
Use the groups.put setting to get this webhook.
Participant became an admin
Use the groups.put setting to get this webhook.
The participant is no longer an administrator
Use the groups.put setting to get this webhook.
New request to join a group
Use the groups.put setting to get this webhook.
Group name changed
Use the groups.patch setting to get this webhook.
Changed group profile picture
Use the groups.patch setting to get this webhook.
Join approval mode changed
Use the groups.patch setting to get this webhook. joinApprovalMode is true when admins must approve new members who join via the invite link, and false when anyone with the link can join.
Changing a participant's number
Last updated