How to Create and Manage Chat API Webhooks in BoldDesk
Webhooks in Chat module allow users to send real‑time event data such as conversation updates, message events, or ticket-linked chat activity to external systems.
This enables seamless integration with:
- Automation platforms
- Internal tools
- Custom workflows
- CRM systems
- Any API‑driven application
This guide explains what webhooks are, how they work in BoldDesk, and how to create, edit, activate, deactivate, and delete webhooks for the Chats module.
What are Chat API Webhooks in BoldDesk?
A webhook is a user-defined HTTP callback triggered when a specific chat event occurs. The chat webhook sends a structured event payload (JSON) to your endpoint and notifies your system about chat-related events, including conversation creation, updates, status changes, messages, outbound message status changes, and WhatsApp template status updates.
Common Use Cases
- Real-time chat and ticket synchronization
- Triggering external workflows or automation rules
- Updating CRM records
- Generating alerts or notifications
- Running background jobs in third-party systems
- Monitor outbound message delivery.
- Respond to messages that are sent, delivered, or read.
- Monitor WhatsApp template approval or rejection.
Prerequisites
Before creating a Chat API Webhook, ensure that:
- You have access to the BoldDesk Admin module.
- The receiving endpoint is publicly accessible through HTTPS.
- The receiving application can process JSON payloads.
- The applicable user role includes:
- Manage Settings
- Manage Webhook
Create a Chat API Webhook
To create a webhook:
-
Go to Admin > Chat > Developer Settings > Webhooks.
-
Click Add Webhook.
-
Configure the webhook details.
Field Description Name Enter a clear name that identifies the webhook. Description Enter an optional description of the webhook’s purpose. Brand Select the brand to which the webhook applies. Event Select the event that should trigger the webhook. Destination URL Enter the HTTPS endpoint that receives the webhook payload. -
Configure optional authentication, signing, or custom-header settings.
-
Click Add to save the webhook.
If webhook delivery fails, review:
Audit Logs > Webhook Failure Logs
Supported Webhook Events
Conversation Events
| Event | Description |
|---|---|
| Conversation Created | Triggered when a new chat conversation is created. |
| Conversation Deleted | Triggered when a chat conversation is deleted. |
| Conversation Property Updated | Triggered when a conversation property changes. |
| Conversation Status Changed | Triggered when the conversation status changes. |
| Conversation Assignee Updated | Triggered when the assigned agent or group changes. |
Message Events
| Event | Description |
|---|---|
| Message Created | Triggered when a new message is added to a conversation. |
| Message Edit | Triggered when an existing message is modified. |
| Message Deleted | Triggered when a message is deleted or withdrawn. |
Outbound Message Events
| Event | Description |
|---|---|
| Outbound Message Created | Triggered when an outbound message is created. |
| Outbound Message Sent | Triggered when an outbound message is sent to a recipient. |
| Outbound Message Delivered | Triggered when an outbound message is delivered to a recipient. |
| Outbound Message Read | Triggered when an outbound message is read. |
WhatsApp Template Events
| Event | Description |
|---|---|
| Template Status Update | Triggered when BoldDesk receives a WhatsApp template status update from Meta WhatsApp or Gupshup WhatsApp. |
Template Status Update is one webhook event that covers multiple template lifecycle statuses. Use the Status property in the payload to determine the resulting status.
Configure Webhook Security
The following optional settings can help secure webhook requests:
| Setting | Description |
|---|---|
| Enable Authentication | Adds authentication so the receiving endpoint can verify access to the webhook. |
| Enable Signing | Allows the receiving application to validate the integrity of the webhook payload. |
| Custom Header | Adds a configured value, such as an API key or token, to the webhook request headers. |
- Do not include passwords, private keys, access tokens, or other sensitive credentials in webhook payloads.
- Validate authentication, signatures, and required headers before processing webhook data.
Manage Chat API Webhooks
Edit a Webhook
To edit a webhook:
- Go to Admin > Chat > Developer Settings > Webhooks.
- Locate the webhook.
- Click the Edit icon.
- Modify the required settings.
- Click Save.
Deactivate a Webhook
Deactivate a webhook when you want to stop deliveries without deleting its configuration.
- Go to Admin > Chat > Developer Settings > Webhooks > Active.
- Open the webhook’s Kebab menu.
- Select Deactivate.
Reactivate a Webhook
To reactivate a webhook:
- Go to Admin > Chat > Developer Settings > Webhooks > Inactive.
- Locate the webhook.
- Open the Kebab menu.
- Select Activate.
Delete a Webhook
To permanently remove a webhook:
- Go to Admin > Chat > Developer Settings > Webhooks.
- Open the webhook’s Kebab menu.
- Select Delete.
- Click Yes, Delete to confirm.
Deleting a webhook permanently removes its configuration. Deactivate the webhook instead when the configuration may be needed later.
Sample Conversation Event Payloads
| Event Type | Sample Payload |
|---|---|
| Conversation Created |
|
| Conversation Property Updated |
|
| Conversation Assignee Updated |
|
| Conversation Status Changed |
|
Sample Message Event Payloads
| Event Type | Sample Payload |
|---|---|
| Message Created |
|
| Message Edited |
|
| Message Deleted |
|
Sample Outbound Message Event Payloads
| Event Type | Sample Payload |
|---|---|
| Outbound Message Created |
|
| Outbound Message Sent |
|
| Outbound Message Delivered |
|
| Outbound Message Read |
|
The ConversationId property is included in the webhook payload only when the outbound message is created together with a conversation. It is not included when the outbound message is created without conversation creation.
Sample WhatsApp Template Event Payload
| Event Type | Sample Payload |
|---|---|
| Template Status Update |
|
Webhook payload properties can vary according to the event, messaging provider, and available contact information. Configure the receiving endpoint to handle optional, missing, and null properties.
Permissions
To create and manage Chat API Webhooks, the user role must include the following permissions under the Admin module:
-
Manage Settings
-
Manage Webhook
Troubleshooting
Webhooks Are Not Delivered
- Confirm the webhook is in Active state (Admin → Chat → Developer Settings → Webhooks → Active).
- Confirm the Destination URL uses HTTPS.
- Check Audit Logs → Webhook Failure Logs for delivery errors (for example, unreachable endpoint or incorrect HTTP method).
Cannot Create or Manage Webhooks
Confirm the user role includes both Manage Settings and Manage Webhook in the Admin module.
Frequently Asked Questions
-
What does a Chat API Webhook do in BoldDesk?
A Chat API Webhook sends a JSON payload to an external HTTPS endpoint when a configured chat, message, outbound message, or WhatsApp template event occurs. -
Which outbound message lifecycle events are supported?
The supported events are Outbound Message Created, Outbound Message Sent, Outbound Message Delivered, and Outbound Message Read. -
How are WhatsApp template status changes delivered?
Configure the Template Status Update event. The payload’sStatusproperty identifies the resulting template status, such asAPPROVED,REJECTED, orPENDING. -
Which WhatsApp providers support Template Status Update?
The event is triggered when BoldDesk receives a template status webhook from Meta WhatsApp or Gupshup WhatsApp. -
Does BoldDesk require HTTPS for webhook endpoints?
Yes. The Destination URL must use HTTPS. -
Where can I find webhook delivery failures?
Go to Audit Logs → Webhook Failure Logs. -
Can I create multiple webhooks for different events or brands?
Yes. You can configure multiple webhooks and scope them by Event and Brand (in multi-brand environments). -
Can I stop webhook deliveries without deleting the webhook?
Yes. Use Deactivate to stop deliveries while keeping the webhook configuration. -
Is deleting a webhook reversible?
No. Deleting a webhook permanently removes the webhook configuration. -
What security controls are available for Chat API Webhooks?
Optional controls include Enable Authentication, Enable Signing, and Custom Header. The exact authentication/signing details are not specified in the provided content.