Service Health: Configuring Webhook Notifications in Service Health

Webhooks let Service Health send incident and scheduled maintenance updates to your own systems, such as an incident management tool, a chat channel, or an internal dashboard. Each update is sent as a signed HTTP request, so your system can confirm it comes from Talkdesk.

Prerequisites

  • You need an HTTPS endpoint that is reachable from the public internet and that can receive POST requests with a JSON body.
  • You can add up to 3 webhooks per account.

Note: A Talkdesk account belongs to a single region, so a webhook receives the Service Health updates of that region.

What a Webhook Sends

A webhook sends updates for all Talkdesk products as soon as they are published in Service Health. It sends the same public information that is shown on the Service Health page. Root cause analysis (RCA) documents are not included.

Event typeWhen it is sent
incident.createdA new incident is published.
incident.status_changedThe status of an incident changes.
incident.comment_addedA public comment is added to an incident.
incident.resolvedAn incident is resolved.
maintenance.reminderA reminder for a scheduled maintenance.
maintenance.startedA scheduled maintenance starts.
maintenance.comment_addedA comment is added to a scheduled maintenance.
maintenance.completedA scheduled maintenance is completed.
webhook.pingYou send a test event.

Add a Webhook

  1. In Service Health, select Configure notifications in the top right corner.
  2. Select Webhooks. The Webhooks panel opens.
  3. In Endpoint URL, enter the HTTPS address that receives the updates, for example, https://example.com/webhooks/service-health.
  4. In Contact email, enter the address of the person who runs the endpoint. By default, your own email is filled in. We email this address if the webhook stops working.
  5. Select Add webhook.
  6. In the Signing secret window, select Copy and store the secret in a safe place, then select Done.

Important Note: 

  • You won't be able to see this secret again. If you lose it, rotate the secret to get a new one.

The webhook is Active as soon as it is added. Nothing is sent to your endpoint when you add it, and the endpoint is not checked. Configure your endpoint with the signing secret, then use Test webhook to confirm it works. Until your endpoint has the secret, the deliveries fail and count as failures.

The contact email receives a message that explains what the webhook does and that only an administrator of the account can change it.

Endpoint Requirements

  • The URL must start with https://, can have a custom port, and cannot include a username or password.
  • The address must be public. URLs that point to private or internal addresses are not accepted and show This URL isn't allowed. Use a public HTTPS endpoint.
  • Each URL can be used by only one webhook of the account.
  • The URL can have up to 2048 characters.

Verifying Requests

Every request is signed following the Standard Webhooks specification. Use one of the Standard Webhooks libraries to verify the signature, or follow the steps below. Verify the signature on the raw request body.

Each request has these headers:

HeaderDescription
webhook-idThe event ID. It is the same in every retry, so use it to ignore duplicates.
webhook-timestampWhen the request was signed, in Unix seconds.
webhook-signaturev1, followed by the base64 HMAC-SHA256 signature of <webhook-id>.<webhook-timestamp>.<raw body>. It can hold several signatures separated by spaces. Accept the request when one matches.
X-Talkdesk-Webhook-EventThe event type. Informational and not signed, so rely on type in the body.
X-Talkdesk-Webhook-AttemptThe attempt number, starting at 1. Informational and not signed.

To verify a request:

  1. Remove the whsec_ prefix from the signing secret and decode the rest from base64. This is the signing key.
  2. Build the signed content: the webhook-id, the webhook-timestamp, and the raw body, joined with dots.
  3. Calculate the HMAC-SHA256 of the signed content with the key and encode it in base64.
  4. Compare it, in constant time, with the signatures in webhook-signature.
  5. Reject requests whose timestamp is more than 5 minutes old, to prevent replays.

Each webhook has its own secret. If several webhooks point to the same system, use the subscription_id in the body to find the right secret.

Request Body

{

  "id": "evt_0000000000000000",

  "api_version": "2026-10-01",

  "type": "incident.status_changed",

  "created_at": "2026-11-26T09:06:00.000Z",

  "sequence": 1795770360000,

  "region": "<region>",

  "subscription_id": "whs_<webhook id>",

  "data": {

    "incident": { "...": "the public incident, as shown in Service Health" },

    "changes": { "status": { "from": null, "to": "<new status>" } }

  }

}

Maintenance events have a maintenance object instead of incident. When an update includes a comment, it is in changes.new_comment.body. webhook.ping has only a message in data.

Note: Events are delivered at least once and can arrive out of order. Use id to ignore duplicates and sequence to order the events. In changes.status, from is empty and to has the new status.

How Deliveries Work

  • Your endpoint must answer with a 2xx status within 15 seconds.
  • Redirects are not followed and count as a failure.
  • If a delivery fails, it is tried again up to 3 times in total, with increasing waits between attempts. If all attempts fail, that update is not sent again and counts as one failure.
  • A successful delivery resets the count of failures.

When a Webhook is Disabled

A webhook changes to Disabled and stops receiving updates when:

  • 10 deliveries in a row fail, or
  • your endpoint answers 410 Gone, which asks Talkdesk to stop sending updates. The webhook is disabled at once.

A disabled webhook that failed shows a warning icon next to its status: We couldn't deliver updates to this endpoint. Check it and enable it again.

Emails to the Contact

The contact email receives a message when:

  • the webhook is added;
  • a delivery fails (only the first of a run of failures, so a broken endpoint doesn't flood the inbox);
  • the webhook is disabled by the system.

Managing Webhooks

The Webhooks panel lists each webhook with its Status, Contact, Secret (only the first characters), and Created date. Hover over the information icon next to the date to see when the webhook was last updated. Select the Webhook actions menu (the three dots) of a webhook to see the actions.

ActionWhat it does
Test webhookSends a webhook.ping event to the endpoint and shows if it answered successfully. Available only for active webhooks. A failed test is not counted as a delivery failure.
Rotate secretCreates a new signing secret, shown once. The old secret stops working immediately, so update your endpoint with the new one. Until you do, the deliveries fail.
DisableStops the updates at once. The webhook stays in the list.
EnableStarts the updates again. The URL is checked again, and the count of failures starts over.
RemoveDeletes the webhook after you confirm. It stops receiving updates.

Note: You can't edit the URL or the contact email of a webhook. To change them, remove the webhook and add a new one.

 

Troubleshooting

Message or situationWhat to do
Enter a valid HTTPS URLUse a full address that starts with https:// and has a domain name.
This URL already has a webhookEach URL can be used once per account. Remove the existing webhook or use another URL.
This URL isn't allowed. Use a public HTTPS endpoint.The address is private, internal or not reachable. Use a public HTTPS endpoint.
Webhook registration limit reached. You can add up to 3 webhooks.Remove a webhook you no longer need.
Test event failedCheck that your endpoint is reachable and answers with a 2xx status. The message shows the status your endpoint returned, when there is one.
The webhook is disabledFix the endpoint, then select Enable in the Webhook actions menu.
Your endpoint rejects the signatureCheck that it uses the current secret of that webhook. The secret changes when it is rotated.
All Articles ""
Please sign in to submit a request.