Category

How to Create and Manage Chat API Webhooks in BoldDesk

Updated:

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:

  1. Go to Admin > Chat > Developer Settings > Webhooks.

  2. Click Add Webhook.

    Add Webhook.png

  3. 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.
  4. Configure optional authentication, signing, or custom-header settings.

  5. 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:

  1. Go to Admin > Chat > Developer Settings > Webhooks.
  2. Locate the webhook.
  3. Click the Edit icon.
  4. Modify the required settings.
  5. Click Save.

Deactivate a Webhook

Deactivate a webhook when you want to stop deliveries without deleting its configuration.

  1. Go to Admin > Chat > Developer Settings > Webhooks > Active.
  2. Open the webhook’s Kebab menu.
  3. Select Deactivate.

Reactivate a Webhook

To reactivate a webhook:

  1. Go to Admin > Chat > Developer Settings > Webhooks > Inactive.
  2. Locate the webhook.
  3. Open the Kebab menu.
  4. Select Activate.

Delete a Webhook

To permanently remove a webhook:

  1. Go to Admin > Chat > Developer Settings > Webhooks.
  2. Open the webhook’s Kebab menu.
  3. Select Delete.
  4. 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
{
  "EventType": "ConversationCreated",
  "EventTime": "2026-03-06T11:44:01.3176944Z",
  "ConversationId": "e9dce62b-a53c-433d-8b8c-5dc383192fc9",
  "Payload": {
    "SourceId": 1,
    "RequestedUserId": null,
    "RequestedVisitorId": "c0289709-ee0f-4c3d-8492-01d1f3d22002",
    "PriorityId": 2,
    "LastModifiedOn": "2026-03-06T11:44:01.3176944Z",
    "LastModifiedBy": 2,
    "MessageDetails": {
      "Content": "Hello",
      "CreatedAt": "2026-03-06T11:44:01.3176944Z"
    },
    "CreatedOn": "2026-03-06T11:44:01.3176944Z",
    "Category": null,
    "GroupId": null,
    "AgentId": 1043,
    "IsVerified": false,
    "LastMessageOn": "2026-03-06T11:44:01.3176944Z",
    "CustomFields": "{}",
    "Tags": [],
    "BrandId": 1
  }
}
Conversation Property Updated
{
  "EventType": "ConversationPropertyUpdated",
  "EventTime": "2026-03-06T11:51:56.6601207Z",
  "ConversationId": "19272062-945f-46c6-993b-87469372e971",
  "Payload": {
    "Fields": [
      {
        "NewValue": "3",
        "OldValue": "2",
        "FieldName": "Field_API_Name_1"
      },
      {
        "NewValue": "20",
        "OldValue": null,
        "FieldName": "Field_API_Name_2"
      }
    ]
  }
}
Conversation Assignee Updated
{
  "EventType": "ConversationAssigneeUpdated",
  "EventTime": "2026-03-06T11:47:15.1757813Z",
  "ConversationId": "19272062-945f-46c6-993b-87469372e971",
  "Payload": {
    "Fields": [
      {
        "NewValue": "1011",
        "OldValue": "0",
        "FieldName": "Assigned Agent"
      },
      {
        "NewValue": null,
        "OldValue": null,
        "FieldName": "Assigned Group"
      }
    ]
  }
}
Conversation Status Changed
{
  "EventType": "ConversationStatusChanged",
  "EventTime": "2026-03-06T11:50:55.0413332Z",
  "ConversationId": "19272062-945f-46c6-993b-87469372e971",
  "Payload": {
    "Fields": [
      {
        "NewValue": "2",
        "OldValue": "1",
        "FieldName": "Status"
      }
    ]
  }
}

Sample Message Event Payloads

Event Type Sample Payload
Message Created
{
  "EventType": "MessageCreated",
  "EventTime": "2026-03-06T11:44:04.7464282Z",
  "ConversationId": "e9dce62b-a53c-433d-8b8c-5dc383192fc9",
  "Payload": {
    "MessageContent": {
      "Message": "Hi there!",
      "TextFormat": 2,
      "Attachments": []
    },
    "Author": {
      "IsUser": false,
      "UserId": null,
      "VisitorId": null
    },
    "ChatSource": "API",
    "IsPrivate": false,
    "ExternalReferenceId": "",
    "MessageId": "c0e9a8e0-1951-11f1-a598-37018e59b03a"
  }
}
Message Edited
{
  "EventType": "MessageEdit",
  "EventTime": "2026-03-06T11:49:02.9018039Z",
  "ConversationId": "19272062-945f-46c6-993b-87469372e971",
  "Payload": {
    "MessageContent": {
      "Message": "Hello there!",
      "TextFormat": 3,
      "Attachments": []
    },
    "EditedById": "1011",
    "ExternalReferenceId": null,
    "MessageId": "5d9c8ef0-1952-11f1-b175-252a43d308dd"
  }
}
Message Deleted
{
  "EventType": "MessageDeleted",
  "EventTime": "2026-03-06T11:49:58.1201873Z",
  "ConversationId": "19272062-945f-46c6-993b-87469372e971",
  "Payload": {
    "MessageId": "5d9c8ef0-1952-11f1-b175-252a43d308dd"
  }
}

Sample Outbound Message Event Payloads

Event Type Sample Payload
Outbound Message Created
{
  "EventType": "OutboundMessageCreated",
  "EventTime": "2026-10-18T17:41:14.8854609Z",
  "Payload": {
    "MessageId": 359,
    "MessageTitle": "meta msg created",
    "Source": "WhatsApp (Meta Cloud API)",
    "AccountName": "meta",
    "PhoneNumber": "+1 987-234-6987",
    "MessageStatus": "created",
    "CreatedOn": "2026-10-18T17:40:10.1479308Z"
  }
}
Outbound Message Sent
{
  "EventType": "OutboundMessageSent",
  "EventTime": "2026-10-18T15:11:51.9081782Z",
  "Payload": {
    "MessageSentOn": "2026-10-18T15:07:38.5633396Z",
    "Contact": {
      "Id": 293968,
      "Name": "UmaSiva",
      "PhoneNumber": "43210"
    },
    "MessageId": 353,
    "MessageTitle": "Outbound msg TW",
    "Source": "WhatsApp (Twilio)",
    "AccountName": "TW",
    "PhoneNumber": "+18765409297",
    "MessageStatus": "sent",
    "CreatedOn": "2026-10-18T15:39:48.10135+05:30"
  }
}
Outbound Message Delivered
{
  "EventType": "OutboundMessageDelivered",
  "EventTime": "2026-10-18T16:02:42.4986263Z",
  "Payload": {
    "MessageDeliveredOn": "2026-10-18T16:00:58.820269Z",
    "Contact": {
      "Id": 293968,
      "Name": "Smith",
      "PhoneNumber": "9876543210"
    },
    "MessageId": 353,
    "MessageTitle": "Outbound msg TW",
    "Source": "WhatsApp (Twilio)",
    "AccountName": "TW",
    "PhoneNumber": "+18444109297",
    "MessageStatus": "delivered",
    "CreatedOn": "2026-10-18T15:39:48.10135+05:30"
  }
}
Outbound Message Read
{
  "EventType": "OutboundMessageRead",
  "EventTime": "2026-10-18T16:41:47.912362Z",
  "Payload": {
    "MessageReadOn": "2026-10-18T16:40:49.1457409Z",
    "Contact": {
      "Id": 293968,
      "Name": "John",
      "PhoneNumber": "987654321"
    },
    "MessageId": 353,
    "MessageTitle": "Outbound msg TW",
    "Source": "WhatsApp (Twilio)",
    "AccountName": "TW",
    "PhoneNumber": "+1987654321",
    "MessageStatus": "read",
    "CreatedOn": "2026-10-18T15:39:48.10135+05:30"
  }
}

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
{
  "EventType": "TemplateStatusUpdate",
  "EventTime": "2026-10-22T11:31:23.7889297Z",
  "Payload": {
    "Id": "75ed74c8-081c-47d1-8749-c169e1e933e8",
    "Name": "greetings_2025",
    "Category": "MARKETING",
    "Language": "en_US",
    "PhoneNumber": "19876402932",
    "Status": "APPROVED",
    "UpdatedOn": "2026-10-22T11:30:16.2528411Z"
  }
}

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

    Permission.png

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

  1. 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.

  2. Which outbound message lifecycle events are supported?
    The supported events are Outbound Message Created, Outbound Message Sent, Outbound Message Delivered, and Outbound Message Read.

  3. How are WhatsApp template status changes delivered?
    Configure the Template Status Update event. The payload’s Status property identifies the resulting template status, such as APPROVED, REJECTED, or PENDING.

  4. Which WhatsApp providers support Template Status Update?
    The event is triggered when BoldDesk receives a template status webhook from Meta WhatsApp or Gupshup WhatsApp.

  5. Does BoldDesk require HTTPS for webhook endpoints?
    Yes. The Destination URL must use HTTPS.

  6. Where can I find webhook delivery failures?
    Go to Audit Logs → Webhook Failure Logs.

  7. 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).

  8. Can I stop webhook deliveries without deleting the webhook?
    Yes. Use Deactivate to stop deliveries while keeping the webhook configuration.

  9. Is deleting a webhook reversible?
    No. Deleting a webhook permanently removes the webhook configuration.

  10. 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.

Related Articles

  1. How to Create and Manage Webhooks in BoldDesk Tickets
  2. Webhook Payloads, Headers, and Events
Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied
Access denied
Access denied

No articles or sections found
No articles or sections found