Webhooks
Add an HTTPS endpoint in Developers → Webhooks (or with POST /v1/webhook-endpoints) and choose the events:
| Event | When |
|---|---|
case.submitted |
The applicant submitted their evidence; checks start. |
case.needs_review |
Checks finished; the case waits for a reviewer. |
case.decided |
A reviewer approved or rejected the case. |
What you receive
Section titled “What you receive”A JSON POST:
{ "id": "6f1c…", "type": "case.decided", "createdAt": "2026-11-28T10:55:46.223Z", "data": { "case": { "id": "9a2e…", "status": "decided", "decisionOutcome": "approved", "reasonCode": "checks_clear", "version": 7 } }}Payloads are deliberately thin: IDs, statuses and codes, never names or evidence. Fetch GET /v1/cases/{id} for anything else.
Headers:
HeliumID-Signature: t=<unix seconds>,v1=<hex>: HMAC-SHA256 of"<t>.<raw body>"with your endpoint’s signing secret.HeliumID-Event-Id: identical on every delivery of the same event.HeliumID-Event-Type,HeliumID-Delivery-Id.
Verify every request
Section titled “Verify every request”Use the raw body, exactly as received, and reject timestamps older than five minutes so a captured request can’t be replayed.
import { createHmac, timingSafeEqual } from "node:crypto";
export function verifyHeliumIdSignature(rawBody, header, secret) { const parts = Object.fromEntries(header.split(",").map((p) => p.split("="))); const t = Number(parts.t); if (!parts.v1 || Math.abs(Date.now() / 1000 - t) > 300) return false; const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex"); return parts.v1.length === expected.length && timingSafeEqual(Buffer.from(parts.v1), Buffer.from(expected));}# Pythonimport hmac, hashlib, time
def verify_heliumid_signature(raw_body: bytes, header: str, secret: str) -> bool: parts = dict(p.split("=", 1) for p in header.split(",")) t = int(parts.get("t", "0")) if "v1" not in parts or abs(time.time() - t) > 300: return False expected = hmac.new(secret.encode(), f"{t}.".encode() + raw_body, hashlib.sha256).hexdigest() return hmac.compare_digest(parts["v1"], expected)Respond fast, process once
Section titled “Respond fast, process once”- Answer
2xxwithin 10 seconds; do the work afterwards (a queue is ideal). - The same event can arrive more than once: store
HeliumID-Event-Idand skip ones you’ve seen. - Events can arrive out of order: keep the highest
data.case.version.
Retries
Section titled “Retries”Anything other than a 2xx (or no answer within 10 seconds) is retried after 30 seconds, 2 minutes, 10 minutes, 1 hour, 6 hours and 24 hours, then marked exhausted. Every attempt is in the delivery log, and you can redeliver any event (same event ID) from the workspace or the API.
A delivery succeeding or failing never changes the case: it only tells you about it.
Signing secrets
Section titled “Signing secrets”Shown once when you add the endpoint. Rotate it if it may have leaked: the old secret stops working immediately. Use Send test event to check your verification code.