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: Mode setting

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": "[email protected]",
      "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.

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.

Changing a participant's number

Last updated

Was this helpful?