Category

Webhook Payloads, Headers, and Event

Updated:

A webhook in BoldDesk is triggered when an action occurs in a selected module. Each module supports a specific set of events. When creating a webhook, select the required module(s) and event(s) so BoldDesk can determine when to send webhook requests to the configured endpoint.

Supported Webhook Modules and Events

Modules Events Triggers when
Ticket Created A new ticket is created.
Property Updated Any fields are changed in an existing ticket, or when a ticket is marked as spam, or when a ticket is removed from spam, or when a ticket is deleted softly, or when a ticket is restored.
Reply Created A new reply is created.
Public Note Created A new public note is added.
Private Note Created A new private note is added.
Permanently Deleted A ticket is deleted permanently.
Satisfaction Feedback Feedback is added.
Contact Created A new contact is created.
Updated Any fields are changed in an existing contact or when a contact is blocked or unblocked or when a contact is deleted softly or when a contact is restored.
Permanently Deleted A contact is deleted permanently.
Contact Group Created A new contact group is created.
Updated Any fields are changed in an existing contact group.
Deleted A contact group is deleted.
Work log Created A new work log is created.
Updated Any fields are changed in the existing work log.
Deleted A work log is deleted.
Approval Approval Request Created A new approval request is created in a ticket.
Approval Request Updated The subject or description of an approval request is updated.
Approval Request Completed The approval request is completed either by approval or rejection.
Approval Request Cancelled The request for approval is cancelled by the creator.
Approver Added An approver was added to an existing request.
Approver Approved An approver has approved the request.
Approver Rejected An approver has rejected the request.
Approver Cancelled An approver was removed from the request.
Activity Created A new activity is created, or when an activity is cloned, or when a forward activity is created from tickets.
Updated Any field is changed except for watchers and description.
Deleted An activity is deleted.
Note: Only the user who created the activity can delete it.
Comment Created A new comment is added in the activity.

Webhook Headers

System and custom headers are sent along with webhook data to the specified webhook endpoints.

Alternatively, when creating a webhook, you have the option to include your custom headers.

System Headers

By default, the headers listed below are sent with each webhook request.

Header keys Header values
Host < webhook-endpoint>
Accept-Encoding gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept-Charset utf-8, iso-8859-1; q=0.5, *; q=0.1
Content-Type application/json; charset=utf-8
User-Agent BoldDesk
Authorization Basic cUFEU0ZHSEpLSg==
x-signature v7czZPsztnM910sLP5yT6OO+mVEpVktBE5zLdzkZ+rU=
Event-Type < event-name >
Event-Time 05/17/2021 11:30:37

Custom Headers

Custom headers are used to send additional information to the destination URL.
Follow the given steps to add a custom header:

  1. Enter the key and value of the header and click Add to add it to the header record.
  2. To remove the header, click the Delete.

    Add or Remove Custom Headers.png

Webhook Payload

The data from the selected module are sent as a webhook payload.
Ways to send the webhook payload include:

  • Default Payload
  • Advanced Payload

Default Payload

This option automatically sends a default payload template to a webhook, which varies depending on the events.

You can send all of them or only the required data by selecting the following options:

  • Include all fields in the payload (Optional)
    When this option is enabled, all data are sent in the payload.

  • Payload (Required)
    The selected data are sent in the payload.

    Payload.png

Advanced Payload

This option allows you to customize and configure a specific payload to a webhook endpoint.

Advanced Payload.png

Sample Payload

{
"priorityId": 2,
"requesterEmailId": "[email protected]",
"brandId": 1,
"isVisibleInCustomerPortal": {{ticket.IsVisibleInCustomerPortal}},
"subject": {{ticket.Subject}},
"description": {{ticket.Description}},
"tag": "created-by-webhook"
}

Frequently Asked Questions

1. Do webhooks trigger for every module in BoldDesk?
No. Webhooks trigger only for modules and events that are supported and selected when the webhook is created.

2. Why do Ticket “Property Updated” webhooks trigger so often?
The Ticket → Property Updated event triggers when any ticket fields change, including spam status changes, soft delete, and restore actions.

3. Does BoldDesk include a signature header for webhook verification?
Yes. BoldDesk sends an x-signature header with each webhook request (example value shown in the system headers table).

4. Can I add my own authentication header to webhook requests?
Yes. Use custom headers to add destination-specific headers (for example, an API key header) in addition to BoldDesk system headers.

5. What is the difference between Default Payload and Advanced Payload?
Default Payload uses an event-based template with selectable fields. Advanced Payload allows a custom payload definition.

6. Can an Activity webhook trigger when a ticket is forwarded?
Yes. Activity → Created triggers when a forward activity is created from tickets.

Related Articles

  1. Webhook Failure Handling in BoldDesk
  2. How to Create and Manage Webhooks in BoldDesk Tickets
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