whatsapp.template.reviewed to handle this event at your webhook endpoint.
Triggers
Occurs when a WhatsApp template receives a review or lifecycle update, including approval, rejection, pausing, disabling, archiving, and unarchiving. Subscribe towhatsapp.template.reviewed when you configure your webhook endpoint.
Use wabaId, name, and language to identify the template. statusUpdateEvent describes the triggering change; status describes the current state. For example, UNARCHIVED can carry status: APPROVED without a new approval review.
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.
whatsappTemplate
whatsappTemplate.whatsappApiError
whatsappTemplate.whatsappApiError
Example
The following JSON is the body delivered to your receiver. IDs, phone numbers, and other account values are illustrative.WhatsApp template archived event
WhatsApp template archived event
Example payload when a WhatsApp template is archived
WhatsApp template unarchived event
WhatsApp template unarchived event
Example payload when a WhatsApp template is unarchived. The template status is the current status returned by Meta and does not represent a new approval review.
Template Approved
Template Approved
Template Rejected
Template Rejected
Template Paused
Template Paused
Template Flagged
Template Flagged
Template Disabled
Template Disabled
Template Pending Deletion
Template Pending Deletion
Template Archived
Template Archived
Template Unarchived
Template Unarchived
2xx response. Process slow work asynchronously.

