Webhook about Changing WhatsApp Template Category
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 .
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.
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 → Settings → Main profile → Webhook URL for WhatsApp template category changes.
General Information about edna Pulse API Keys and Webhooks Managing edna Pulse WebhooksWebhook 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
| Parameter | Data type | Character | Description |
|---|---|---|---|
payload | object | Required | The information about event types. |
payload.id | integer | Required | The template ID. To find out the template ID, use the API method to get a list of templates — the id parameter. Retrieving List of Templates |
payload.name | string | Required | The template name. To find out the name of the template, use the API method to get a list of templates — the name parameter. Retrieving List of Templates |
payload.channelType | string | Required | The channel type. A possible value is WHATSAPP (WhatsApp channel). |
payload.category | string | Required | The updated template category. Possible values for the WhatsApp channel: - MARKETING — marketing template; - UTILITY — service template; - AUTHORIZATION — authorization template. |
type | string | Mandatory | The type of event that the webhook is being sent about. |
version | string | Required | The API method version. |
timestamp | string | Mandatory | The 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.