WhatsApp Template Change Webhook

WhatsApp Template Change Webhook are notifications sent to you to inform about any updates or modifications to your WhatsApp template.

📘

In case you're looking for delivery notifications for Chat Apps message, please refer to Delivery receipts for outbound Chat Apps

Requirements

To receive WhatsApp template change webhook, you need:

  • An account configured to use Chat Apps product.
  • A webhook to indicate to us which URL 8x8 platform should send Chat Apps Business Management Updates to.

📘

You can configure your callback using Webhooks Configuration API

Retry logic

In case of connection error/timeout or HTTP response code 4XX or 5XX, there will be multiple retry attempts with progressive intervals: 1, 10, 30, 90 sec.

Webhook format

Request body description

Parameter nameParameter typeDescription
eventIdstringUnique event identifier.
timestampstringTimestamp of event in ISO 8601 format.
providerstringProvider of this event. Equal to WhatsApp.
accountIdstringAccountId which the event is associated with.
eventTypestringWebhook type.
Possible values are template_category_update, template_status_update, template_quality_update.
eventDetailsobjectEvent related information, see below.

eventDetails object description

Parameter nameParameter typeDescription
templateIdlongWhatsApp Template ID.
templateNamestringWhatsApp Template Name.
templateLanguagestringWhatsApp Template Language.
metaobjectSpecific information related to the event, see below.

meta object description

Parameter nameParameter typeDescriptionApplicable for eventType
previousCategorystringPrevious category for template.template_category_update
newCategorystringNew category for template.template_category_update
previousQualityScorestringPrevious quality score for template.
Possible values: GREEN, YELLOW, RED, UNKNOWN.
template_quality_update
newQualityScorestringNew quality score for template.template_quality_update
statusstringNew template status.
Possible values: APPROVED, REJECTED, FLAGGED, PAUSED, PENDING_DELETION.
template_status_update
reasonstringTemplate rejection reason.
Possible values: ABUSIVE_CONTENT, INCORRECT_CATEGORY, INVALID_FORMAT, SCAM, NONE.
NONE is also the default, set when template is approved.
template_status_update
disableInfoobjectProvided when template is scheduled to be disabled. Contains disableDate.template_status_update

Sample template update webhook

{
    "eventId": "0f88f5c4-fae7-4dcf-8ff2-b2990133edea",
    "timestamp": "2025-01-01T00:00:00.00Z",
    "provider": "WhatsApp",
    "accountId": <AccountId>,
    "eventType": "template_category_update",
    "eventDetails":
    {
      "templateId" : <TEMPLATE_ID>,
      "templateName" : <TEMPLATE_NAME>,
      "templateLanguage" : <TEMPLATE_LANGUAGE>,
      "meta":
      {
          "previousCategory": "UTILITY",
          "newCategory": "MARKETING"
      }
    }
}
{
    "eventId": "0f88f5c4-fae7-4dcf-8ff2-b2990133edea",
    "timestamp": "2025-01-01T00:00:00.00Z",
    "provider": "WhatsApp",
    "accountId": <AccountId>,
    "eventType": "template_quality_update",
    "eventDetails":
    {
      "templateId" : <TEMPLATE_ID>,
      "templateName" : <TEMPLATE_NAME>,
      "templateLanguage" : <TEMPLATE_LANGUAGE>,
      "meta":
      {
        "previousQualityScore": "UNKNOWN",
        "newQualityScore": "GREEN"
      }
    }
}
{
    "eventId": "0f88f5c4-fae7-4dcf-8ff2-b2990133edea",
    "timestamp": "2025-01-01T00:00:00.00Z",
    "provider": "WhatsApp",
    "accountId": <AccountId>,
    "eventType": "template_status_update",
    "eventDetails":
    {
      "templateId" : <TEMPLATE_ID>,
      "templateName" : <TEMPLATE_NAME>,
      "templateLanguage" : <TEMPLATE_LANGUAGE>,
      "meta":
      {
        "status" : "APPROVED",
        "reason": "NONE"
      }
    }
}
{
    "eventId": "0f88f5c4-fae7-4dcf-8ff2-b2990133edea",
    "timestamp": "2025-01-01T00:00:00.00Z",
    "provider": "WhatsApp",
    "accountId": <AccountId>,
    "eventType": "template_status_update",
    "eventDetails":
    {
      "templateId" : <TEMPLATE_ID>,
      "templateName" : <TEMPLATE_NAME>,
      "templateLanguage" : <TEMPLATE_LANGUAGE>,
      "meta":
      {
        "status" : "REJECTED",
        "reason": "INCORRECT_CATEGORY"
      }
    }
}
{
    "eventId": "0f88f5c4-fae7-4dcf-8ff2-b2990133edea",
    "timestamp": "2025-01-01T00:00:00.00Z",
    "provider": "WhatsApp",
    "accountId": <AccountId>,
    "eventType": "template_status_update",
    "eventDetails":
    {
      "templateId" : <TEMPLATE_ID>,
      "templateName" : <TEMPLATE_NAME>,
      "templateLanguage" : <TEMPLATE_LANGUAGE>,
      "meta":
      {
        "status" : "FLAGGED",
        "disableInfo": {
          "disableDate": "DATE"
        }
      }
    }
}