Subscribe to template_correct_category_detection to be notified when a Direct Send message's actual content doesn't match its declared category.

Example webhook payload

{
  "object": "whatsapp_business_account",
  "entry": [
    {
      "id": "<ID>",
      "time": <TIME>,
      "changes": [
        {
          "field": "template_correct_category_detection",
          "value": {
            "message_template_id": <MESSAGE_TEMPLATE_ID>,
            "message_template_name": "<MESSAGE_TEMPLATE_NAME>",
            "message_template_language": "<MESSAGE_TEMPLATE_LANGUAGE>",
            "category": "UTILITY",
            "correct_category": "MARKETING" // or AUTHENTICATION
          }
        }
      ]
    }
  ]
}

Did this page help you?