Skip to content
API PlatformDevelopers

Webhook events · messaging

whatsapp.template.quality_changed/1

WhatsApp template quality changed. WhatsApp re-rated a message template's quality (GREEN, YELLOW, RED) from customer feedback. A drop can come before the template is paused.

Payload

We POST this JSON to your endpoint. Answer any 2xx within 30 seconds. The same id arrives again on a retry — skip ones you have handled.

Payload fields
FieldTypeWhat it is
idrequiredstringEvent id. The same on every retry: use it to skip duplicates.pattern ^evt_[0-9A-HJKMNP-TV-Z]{26}$
typerequiredstringEvent type.always whatsapp.template.quality_changed
versionrequiredstringPayload version.always 1
api_versionrequiredstringThe endpoint's API version.
occurred_atrequiredstringWhen it happened.date-time
company_idrequiredintegerYour workspace id.
datarequiredobject
templaterequiredobject
idrequiredstringTemplate id.
meta_template_idrequiredstring or nullWhatsApp's id for the template; null until it has one.
namerequiredstringTemplate name.
languagerequiredstringLanguage code, e.g. en_US.
categoryrequiredstring or nullTemplate category, upper case, e.g. MARKETING, UTILITY or AUTHENTICATION.
previous_qualityrequiredstring or nullThe rating before, e.g. GREEN; null when unknown.
qualityrequiredstringThe new rating, upper case: GREEN, YELLOW or RED as WhatsApp sends it; UNKNOWN when it sent none.
waba_idrequiredstringWhatsApp Business Account id.

Example

{
  "id": "evt_01J8Z7BZQ4F6G8J2K5N7Q9S1VC",
  "type": "whatsapp.template.quality_changed",
  "version": "1",
  "api_version": "2026-10-01",
  "occurred_at": "2026-09-24T09:20:00Z",
  "company_id": 1001,
  "data": {
    "quality": "YELLOW",
    "waba_id": "100000000000001",
    "template": {
      "id": "01J9ZT3KQ5N6V8W0XYZABCDEF",
      "name": "order_update",
      "category": "UTILITY",
      "language": "en_US",
      "meta_template_id": "1234567890123456"
    },
    "previous_quality": "GREEN"
  }
}

Headers

  • Webhook-Signature: t=…,v1=… — how to check it
  • Webhook-Id (also Webhook-Event-Id): the event id, the same on every retry — skip ones you have handled
  • Webhook-Delivery-Id: this delivery attempt, new on every try