whatsapp.phone_number.business_username_updated to handle this event at your webhook endpoint.
Triggers
Occurs when a WhatsApp business phone number’s Business Username is updated. Subscribe towhatsapp.phone_number.business_username_updated 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
The four common envelope fields are required. Payload fields depend on the event variant. In each object table, Required applies when its parent object is present. Optional fields can be omitted; a sample does not make a field required.
whatsappPhoneNumber
Example
The following JSON is the body delivered to your receiver. IDs, phone numbers, and other account values are illustrative.Business username revoked and replaced
Business username revoked and replaced
WhatsApp phone number Business Username updated event
WhatsApp phone number Business Username updated event
Example payload when a WhatsApp phone number Business Username becomes active
WhatsApp phone number Business Username reserved event
WhatsApp phone number Business Username reserved event
Example payload when a WhatsApp phone number has a reserved Business Username request
2xx response. Process slow work asynchronously.

