Skip to main content

Webhook about Changing WhatsApp Template Category

Last updated: 15 June 2026

This webhook enables you to access information regarding changes to the category of WhatsApp templates. When a change is made, edna Pulse sends an HTTP POST request to your system's specified URL. This article describes the webhook format and transmitted data.

Configuring the URL

To set the URL for the WhatsApp template category modification webhook, send a POST request to the URL https://app.edna.io/api/callback/set .

File IconSetting URLs for Webhooks
tip

Your URL should be genuine and accessible to the public via the internet. Only use the secure HTTPS protocol — the default is TCP port 443. URLs can contain a maximum of 500 characters.

info

If a webhook delivery fails, edna Pulse will attempt to resend it up to three times using a backoff scheme: 4, 128, and 2048 seconds after the previous attempt.

You can also specify the webhook URL in your edna Pulse account: Integration SettingsMain profileWebhook URL for WhatsApp template category changes.

File IconGeneral Information about edna Pulse API Keys and Webhooks File IconManaging edna Pulse Webhooks

Webhook format

{
"payload":{
"id": integer,
"name": "string",
"channelType": "WHATSAPP",
"category": "MARKETING"
},
"type": "string",
"version": "string",
"timestamp": "string"
}

Webhook example

{
"payload":{
"id": 123,
"name": "Promotion",
"channelType": "WHATSAPP",
"category": "MARKETING"
},
"type": "message_matcher.category_changed",
"version": "v1",
"timestamp": "2025-08-08T16:08:08.015356271Z"
}

Webhook parameters

ParameterData typeCharacterDescription
payloadobjectRequiredThe information about event types.
payload.idintegerRequiredThe template ID.

To find out the template ID, use the API method to get a list of templates — the id parameter.

File IconRetrieving List of Templates
payload.namestringRequiredThe template name.

To find out the name of the template, use the API method to get a list of templates — the name parameter.

File IconRetrieving List of Templates
payload.channelTypestringRequiredThe channel type. A possible value is WHATSAPP (WhatsApp channel).
payload.category stringRequiredThe updated template category.

Possible values for the WhatsApp channel:

- MARKETING — marketing template;

- UTILITY — service template;

- AUTHORIZATION — authorization template.
typestringMandatoryThe type of event that the webhook is being sent about.
versionstringRequiredThe API method version.
timestampstringMandatoryThe category update time for the WhatsApp template. Specified in the ISO 8601 format (for example, 2025-07-01T00:00:00Z).

Response format

In response to a request from your server, the status of its execution with the code 200 should be returned.