Webhooks deliver reports to any endpoint you control. Where integrations cover the tools we support, webhooks cover everything else.
Webhooks require a Pro or Ultra plan.
Events
Event | Fires when |
|---|---|
| A report opens a new task |
One event today, and the one that matters — the moment a bug enters your system is the moment you want to act.
Creating a webhook
In your project, go to Webhooks and add one. You provide the destination URL and select the events to subscribe to. Creating and managing webhooks requires OWNER or ADMIN.
Each webhook gets its own signing secret, starting with whsec_, generated when you create it. Owners and admins can see it again later with Reveal signing secret.
Your endpoint must accept POST and should respond quickly.
What BugDump sends
A POST with a JSON body and these headers, which follow the Standard Webhooks spec:
Header | Value |
|---|---|
|
|
|
|
| The delivery's id, |
| When this attempt was signed, in Unix seconds |
|
|
BugDump waits up to 10 seconds for a response. Any 2xx counts as success; anything else is a failure and will be retried.
The body wraps the event's own payload in an envelope:
{
"type": "report.created",
"timestamp": "2026-10-22T12:34:56.789Z",
"data": {
"reportId": "6f1c…",
"projectId": "03bc…",
"projectSlug": "your-project",
"taskId": "284e…",
"taskPublicId": 42,
"publicId": 42,
"taskKey": "BD-42",
"taskUrl": "https://bugdump.com/projects/your-project/tasks/42",
"priority": "High",
"title": "Checkout total is wrong",
"description": "…",
"reporterName": "…",
"reporterEmail": "…",
"pageUrl": "https://example.com/checkout",
"createdAt": "2026-10-22T12:34:40.000Z",
"summary": "Applying the code FALL20 turns the total into NaN, and Continue to payment does nothing.",
"transcript": {
"language": "english",
"segments": [
{ "start": 7, "end": 11.68, "text": "I type my code, fall20, and press apply." }
]
}
}
}
taskPublicId is the task's number within its project, and publicId is the same value under its original name. taskKey carries the display form, BD-42, built from the project's key. All three are null when a report did not reach a task.
taskUrl is the task's page in BugDump, and null in the same case. It opens only for a signed-in member of the project.
Task numbers count per project, so a number is only meaningful together with projectSlug or projectId. See Task IDs and project keys.
priority is the priority's name as your project spells it, High or Blocker if you renamed it, and null when the task has none.
transcript comes from the report's screen recording when the reporter talked in it: every line with start and end in seconds from the start of the video. summary is the AI summary of it, in the language they spoke. transcript is null when there was no speech, transcription was off, the owner's minutes ran out, transcription failed, or it wasn't ready in time; summary can be null even with a transcript, when the reporter said nothing about a problem. To include them, BugDump holds the webhook while the recording is being transcribed: it checks every 10 seconds and sends as soon as the transcript is ready, never more than 10 minutes after the report. See Transcripts and AI summaries of screen recordings.
Verifying the signature
Your endpoint is a public URL, so anyone can POST to it. Always verify the signature before acting on a request.
The signature is an HMAC-SHA256 of <webhook-id>.<webhook-timestamp>.<raw body>, keyed with the bytes of your secret (the base64 after whsec_), base64-encoded and prefixed with v1,. Any Standard Webhooks library verifies it, or in Node:
import crypto from 'node:crypto';
function verify(rawBody, headers, secret) {
const id = headers['webhook-id'];
const timestamp = headers['webhook-timestamp'];
const key = Buffer.from(secret.replace(/^whsec_/, ''), 'base64');
const expected = crypto
.createHmac('sha256', key)
.update(`${id}.${timestamp}.${rawBody}`)
.digest('base64');
// Reject old attempts, so a captured request can't be replayed later.
if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false;
return (headers['webhook-signature'] ?? '').split(' ').some((part) => {
const received = Buffer.from(part.replace(/^v1,/, ''));
const computed = Buffer.from(expected);
return received.length === computed.length && crypto.timingSafeEqual(received, computed);
});
}
Two details matter:
Use the raw body, exactly as received. If your framework parses JSON before you see it, re-serializing produces different bytes and the signature will not match. In Express, use express.raw({ type: 'application/json' }) on this route.
Compare in constant time with timingSafeEqual rather than ===, so the comparison does not leak information about the expected value.
Reject anything that fails verification. An unverified handler is a way for a stranger to create tickets in your tracker.
Delivery and retries
Deliveries run through a background queue rather than inline with the report submission. Two consequences worth relying on:
A slow endpoint never slows the widget. The report is accepted immediately regardless of how long your server takes.
Failed deliveries are retried up to 5 times, 3, 6, 12 and 24 seconds apart. An outage longer than about a minute loses the event; the delivery log shows each attempt.
Design your handler to be idempotent. A retry after a timeout means you may receive the same event twice, and the correct response is to notice and ignore the duplicate rather than create a second ticket. The webhook-id header is the same on every retry of one delivery, so it is the key to deduplicate on.
Delivery attempts are recorded, so you can see the response status and body we received for each one.
Rotating a secret
A webhook's secret can be rotated. Doing so invalidates the old one immediately — deploy the new secret to your endpoint promptly, or verification will start failing.
Rotate if the secret may have been exposed, for example in a log or a committed config file.
Disabling without deleting
A webhook can be made inactive. Inactive webhooks are skipped at delivery time, which is a cleaner way to pause during maintenance than deleting and recreating (recreating issues a new secret).
Good uses
Route by severity. Parse the console log for uncaught exceptions and page on-call for those, while everything else goes to a channel.
Enrich from your own data. The report includes the reporter's email when they provided one. Look it up and attach their plan, account age, or support history before creating a ticket.
Deduplicate your own way. Fingerprint on the top stack frame and increment a counter on an existing ticket instead of opening a new one.
Post somewhere unsupported. Any internal tool with an HTTP API becomes a destination.
Troubleshooting
Nothing is delivered. Confirm the plan supports webhooks, the webhook is active, and the URL is publicly reachable — localhost will not work from our servers. Use a tunneling tool for local development.
Signature verification always fails. Almost always the raw-body problem above. Confirm you are hashing the exact bytes received, not a re-serialized object.
Duplicates arrive. Expected on retry. Make the handler idempotent.
Some deliveries fail. Check that your endpoint returns a 2xx and answers within the 10-second timeout.
See also
Connecting integrations
Task IDs and project keys
Managing API keys safely