Callback Configuration
Callback Profile Dynamic Variables
The following dynamic variables must be added to the Callback Profile to receive the corresponding values in the callback payload:
{
"group_id": "<group_id>",
"type": "<type>",
"request_id": "<request_id>",
"subject": "<subject>",
"invite_link": "<invite_link>",
"added_participants": "<added_participants>",
"removed_participants": "<removed_participants>",
"initiated_by": "<initiated_by>"
}Replacer Description
The following table describes each attribute that you can receive through callback service and the corresponding value included in the callback payload.
| Replacer | Description |
|---|---|
group_id | Unique identifier of the WhatsApp group associated with the event. |
type | Type of Group Management event, such as group_create, group_delete, group_suspend, or group_suspend_cleared. |
request_id | Unique identifier associated with the Group Management request. This field is applicable to lifecycle events. |
subject | Name or subject of the WhatsApp group. This field is applicable to group lifecycle events. |
invite_link | Invite link associated with the WhatsApp group, when available. |
added participants | List of participants added to the WhatsApp group as part of the event. |
removed participants | List of participants removed from the WhatsApp group as part of the event. |
initiated_by | Identifies the entity that initiated the participant-related action, such as business or participant. |
Notes:
- Configure the required dynamic variables in the Callback Profile based on the Group Management events that the business needs to receive.
- A field may be empty or null when it is not applicable to a particular event.
- The callback payload contains only the fields applicable to the corresponding Group Management event, and that are configured in the callback profile.
- The WABA must also be enabled to receive the relevant Group Management webhook events for callbacks to be triggered.
Updated about 18 hours ago
Did this page help you?

