Category

How to Secure Webhooks in BoldDesk

Updated:

Webhook endpoints are publicly accessible and may receive requests from unauthorized sources. Securing the endpoint helps protect sensitive webhook data, verify that requests originate from BoldDesk, and detect payload tampering.

This article explains how to secure BoldDesk webhooks using HTTPS endpoints, password or API key authentication, HMAC-SHA256 webhook signing, and BoldDesk outbound IP address validation.

Webhook Endpoints

The webhook request is the same as any other HTTP request, which is a plain-text protocol. So, the data is in readable format during the webhook request. Attackers can easily intercept these messages and steal sensitive data such as user information.

You can secure webhook data by using an HTTPS URL, which ensures that all data sent is encrypted and unreadable.

It supports only HTTPS URLs where data will be sent when a webhook is triggered.

A webhook will not be triggered in local environments such as localhost.

Webhook Authentication

You should enable authentication when creating a webhook to send the webhook data securely and verify whether it is sent from BoldDesk or not. Even though it is optional, you are strongly advised to enable authentication. The following are the two methods for authenticating the webhook URL.

  • Password: When creating a webhook, you can use password authentication (Basic Auth) to provide the username and password. The credentials (Username:Password) will be Base64 encoded and sent in the Authorization header (Authorization: Basic <Credential>).
  • API Key: When creating a webhook, users can use API authentication (Basic Auth) to provide the API key. The API key will be Base64 encoded and sent in the Authorization header (Authorization: Basic <API Key>).

Webhook Signing

When signing a webhook, you can use request signature authentication to provide the secret key. This secret key is used to sign the payload (HMAC-SHA256), generate a Base64 encoded signature, and send it in the header (x-signature). This can be used to validate the payload’s integrity at the receiver end (X-Signature: <Signature>).

Please make sure to whitelist or validate that the incoming webhook requests originate from the following BoldDesk outbound IP addresses:

  • 34.48.64.2
  • 34.145.236.120
  • 35.236.250.62

BoldDesk does not provide a whitelisting feature for webhooks; therefore, please ensure that these three IP addresses are whitelisted on the sender’s side.

Recommended Security Baseline

For stronger webhook security, implement the following controls together:

  1. Use an HTTPS webhook endpoint (required by BoldDesk).
  2. Enable Basic Authentication (username/password or API key) to reject unauthorized requests.
  3. Enable webhook signing (HMAC-SHA256) to verify payload integrity and detect tampering.
  4. Restrict inbound traffic to the BoldDesk outbound IP addresses to validate the request source.

Each control addresses a different security risk:

Control Risk Mitigated
HTTPS Transport interception and eavesdropping
Basic Authentication Unauthorized requests
HMAC-SHA256 Signing Payload tampering
IP Allowlisting Origin spoofing and unauthorized sources

Using these controls together provides a layered security approach and significantly reduces the risk of unauthorized or manipulated webhook requests.

Frequently Asked Questions

  1. Why should a webhook endpoint be secured?
    Because webhook endpoints are publicly reachable URLs. Without protection, unauthorized sources can submit requests or attempt to tamper with payload data. Securing the endpoint helps verify the sender and protect sensitive payload data.

  2. Does BoldDesk support HTTP (non-HTTPS) webhook URLs?
    No. BoldDesk supports only HTTPS webhook URLs.

  3. Can BoldDesk trigger webhooks to localhost?
    No. BoldDesk webhooks are not triggered in local environments such as localhost. Use a publicly accessible HTTPS endpoint.

  4. What authentication options are available for BoldDesk webhooks?
    BoldDesk supports:

    • Password authentication (Basic Auth): Base64-encoded Username:Password is sent in the Authorization header.
    • API key authentication (Basic Auth): A Base64-encoded API key is sent in the Authorization header.
  5. What header carries the webhook signature?
    BoldDesk sends the Base64-encoded HMAC-SHA256 signature in the x-signature header.

  6. What does webhook signing protect against?
    Webhook signing is used to validate payload integrity. If the payload is altered in transit, signature validation at the receiver will fail.

  7. How do I confirm webhook requests originate from BoldDesk infrastructure?
    Validate the source IP address against the BoldDesk outbound IP list:

    • 34.48.64.2
    • 34.145.236.120
    • 35.236.250.62
  8. Does BoldDesk provide a built-in webhook IP allowlist configuration?
    No. BoldDesk does not provide a whitelisting feature for webhooks. IP allowlisting must be configured on the receiver side.

  9. My webhook endpoint returns 400 BadRequest. Is this a BoldDesk configuration issue?
    A 400 BadRequest means the receiver side request reached your endpoint and your service rejected it, so it is not caused by a BoldDesk setting. Check your endpoint’s request validation (the Authorization header, x-signature verification, and payload format), and make sure your firewall allows all three BoldDesk outbound IP addresses listed above.

Related Articles

  1. BoldDesk API Authentication Guide: Secure Access Made Simple
  2. IP Allowlisting for BoldDesk Application
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