template_status_update
Sent when the status of your WhatsApp message template changes. Templates must be approved by Meta before they can be used to send messages.
Payload Example
Section titled “Payload Example”{ "object": "whatsapp_business_account", "entry": [ { "id": "1234567890", "changes": [ { "value": { "event": "APPROVED", "message_template_id": "123456789012345", "message_template_name": "order_confirmation", "message_template_language": "id", "message_template_category": "UTILITY", "reason": "Message template approved" }, "field": "message_template_status" } ] } ]}Example Payload: Template Rejected
Section titled “Example Payload: Template Rejected”{ "object": "whatsapp_business_account", "entry": [ { "id": "1234567890", "changes": [ { "value": { "event": "REJECTED", "message_template_id": "123456789012345", "message_template_name": "promo_mega_sale", "message_template_language": "id", "message_template_category": "MARKETING", "reason": "Message template violates WhatsApp Commerce Policy" }, "field": "message_template_status" } ] } ]}entry[].changes[].value (Template Status Detail)
Section titled “entry[].changes[].value (Template Status Detail)”| Field | Type | Description |
|---|---|---|
event | string | New status of the template. Possible values: PENDING, APPROVED, REJECTED, PAUSED, DISABLED, IN_APPEAL, PENDING_DELETION, DELETED, AUTO_EXPIRED |
message_template_id | string | Meta template ID |
message_template_name | string | Template name |
message_template_language | string | Template language code (e.g. "id", "en") |
message_template_category | string | Template category: AUTHENTICATION, MARKETING, UTILITY |
reason | string | Reason for status change (if any) |
Event values
Section titled “Event values”| The | Description |
|---|---|
PENDING | Template is under review by Meta |
APPROVED | Template approved and ready to use |
REJECTED | Template rejected by Meta. See reason for details |
PAUSED | Template paused by Meta (usually due to low quality score) |
DISABLED | Template deactivated. Cannot be used to send messages |
IN_APPEAL | Template is in the appeal process after rejection |
PENDING_DELETION | Template is being deleted |
DELETED | Template has been deleted |
AUTO_EXPIRED | Template automatically expired due to inactivity |
When Is This Event Sent?
Section titled “When Is This Event Sent?”Event template_status_update is sent when:
- A new template you submitted through the portal receives a review decision from Meta
- Meta changes the status of an existing template (pause, disable, etc.)
- You submit an appeal for a template rejection
- If the template changes to
DISABLED,REJECTED, orPAUSED, the platform automatically decommissions the template and removes it from all active template groups. - If your account uses a sandbox template (name starting with
sbx_), templates that areAPPROVEDwill be automatically promoted to proven status, and templates that areREJECTEDwill be automatically removed from the pattern list. mahadata_message_idon this event always00000000-0000-0000-0000-000000000000(nil UUID) because this is not a message-specific event.