whatsapp.group.participants_update to handle this event at your webhook endpoint.
Triggers
Occurs when WhatsApp group participants or join requests are updated. Subscribe towhatsapp.group.participants_update when you configure your webhook endpoint.
Syntax
YCloud sends an HTTPPOST request to your configured webhook URL. The following shape shows one payload variant. Angle-bracket values are placeholders; their types are listed under Parameters. Optional fields and other variants are described below.
Parameters
Validate theYCloud-Signature HTTP header before you process the JSON body. See signature validation.
Event envelope
Event payload
whatsappGroup
whatsappGroup.customerProfile
whatsappGroup.customerProfile
whatsappGroup.addedParticipants[]
whatsappGroup.addedParticipants[]
whatsappGroup.addedParticipants[].customerProfile
whatsappGroup.addedParticipants[].customerProfile
whatsappGroup.removedParticipants[]
whatsappGroup.removedParticipants[]
whatsappGroup.removedParticipants[].customerProfile
whatsappGroup.removedParticipants[].customerProfile
whatsappGroup.failedParticipants[]
whatsappGroup.failedParticipants[]
whatsappGroup.failedParticipants[].customerProfile
whatsappGroup.failedParticipants[].customerProfile
whatsappGroup.settings[]
whatsappGroup.settings[]
whatsappGroup.contacts[]
whatsappGroup.contacts[]
whatsappGroup.contacts[].customerProfile
whatsappGroup.contacts[].customerProfile
whatsappGroup.statuses[]
whatsappGroup.statuses[]
whatsappGroup.statuses[].conversation
whatsappGroup.statuses[].conversation
whatsappGroup.statuses[].conversation.origin
whatsappGroup.statuses[].conversation.origin
whatsappGroup.statuses[].pricing
whatsappGroup.statuses[].pricing
Example
The following JSON is the body delivered to your receiver. IDs, phone numbers, and other account values are illustrative.WhatsApp group participants update event
WhatsApp group participants update event
Participant Added
Participant Added
Join Request Created
Join Request Created
Participant Removal Failed
Participant Removal Failed
2xx response. Process slow work asynchronously.

