Webhooks
Webhooks tell your own tools what happened to a case without polling: open a ticket when a case opens, lock accounts when a case is decided, or post to your team’s chat. Set them up in the console under Settings, Webhooks. Sandbox and live keep separate endpoints, up to 10 each.
Events
Section titled “Events”| Type | When |
|---|---|
case.opened |
The fraud manager grouped linked review items into a new case. |
case.decided |
A person, or the fraud manager on its own, decided the whole case. |
case.undone |
A person undid a case the fraud manager decided on its own. |
case.merged |
A new item linked two cases, so one joined the other. |
ping |
A test you send from the console. Every endpoint gets it. |
Each endpoint chooses its events. Notes, claims, and spot checks send nothing.
What you receive
Section titled “What you receive”A POST with a JSON body:
{ "id": "evt_case.decided_req_8f2c41d9", "type": "case.decided", "created_at": "2026-12-05T18:23:00Z", "environment": "live", "data": { "case_id": "case_3f2a9c1e5b7d4e8a9c21", "pattern": "one_device_many_accounts", "items": 3, "decision_ids": ["dec_31", "dec_32", "dec_33"], "response": "acted", "action": "report_abuse", "outcome_type": "fake_account", "outcome_ids": ["out_1", "out_2", "out_3"], "by": { "kind": "agent", "id": "agt_fraud_manager" }, "link": "https://console.example.com/manager/cases/case_3f2a9c1e5b7d4e8a9c21?env=live" }}case.opened and case.merged carry the case’s title, status, merged_into, and the fraud manager’s call (action, outcome_type, confidence, title) when it made one. by.kind is human for a console user (named by their user ID) or agent. Events name cases, decisions, and outcomes by ID; they never carry an email, a phone number, or a note. Look up more with the MCP tools or in the console.
Headers:
| Header | Value |
|---|---|
Webhook-Id |
The event id. The same on every retry, so skip one you have already handled. |
Webhook-Event |
The event type. |
Signature |
t=<unix seconds>,v1=<hex>. |
Check the signature
Section titled “Check the signature”Every request is signed with the endpoint’s secret (it starts whsec_ and is shown once, when you add the endpoint or make a new one). To check it:
- Split
Signatureon commas. Taket, and everyv1. - Compute HMAC-SHA256, keyed with the whole secret, of
t, a., and the raw request body, as bytes. Hex encode it. - Accept the request if it equals any
v1(compare in constant time) andtis within 5 minutes of now.
import crypto from "node:crypto";
export function verify(header, rawBody, secret, toleranceSeconds = 300) { const parts = Object.groupBy(header.split(",").map((p) => p.split("=")), ([k]) => k); const t = Number(parts.t?.[0]?.[1]); if (!t || Math.abs(Date.now() / 1000 - t) > toleranceSeconds) return false; const want = crypto.createHmac("sha256", secret).update(`${t}.`).update(rawBody).digest("hex"); return (parts.v1 ?? []).some(([, v]) => v.length === want.length && crypto.timingSafeEqual(Buffer.from(v), Buffer.from(want)));}Making a new secret signs every event with both the old and the new secret for 24 hours, so you can switch your receiver without dropping any.
Delivery and retries
Section titled “Delivery and retries”Answer with any 2xx within 10 seconds. Anything else, or no answer, is tried again after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, and 12 hours: 7 tries over about a day. After that the delivery is marked failed. The console lists every delivery for 30 days with its last answer, and you can send any finished one again.
Deliveries are at least once and can arrive out of order, so use Webhook-Id to skip repeats and created_at to order them. We only send to https URLs, never follow redirects, and never send to addresses inside private networks. Turning an endpoint off stops new events to it; deleting it drops anything still waiting.