whatsapp.group.lifecycle_update to handle this event at your webhook endpoint.
Triggers
Occurs when a WhatsApp group is created or deleted, including successful and failed results. Subscribe towhatsapp.group.lifecycle_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 lifecycle update event
WhatsApp group lifecycle update event
Group Created
Group Created
Group Deleted
Group Deleted
2xx response. Process slow work asynchronously.

