Skip to content

API · v1

Webhooks

Signed deltas pushed to your endpoint.

Create an endpoint#

Register a URL and receive a signing secret. Public endpoints must be https:// — guests or internal hosts may use http for local testing.

Verify the signature#

HMAC-SHA256 over the timestamp and raw body, Stripe-style. Headers: x-tt-event, x-tt-delivery, x-tt-signature (t=…,v1=…). Reject anything older than five minutes.

const [t, v1] = header.replace("t=", "").split(",v1=");
const expected = crypto.createHmac("sha256", secret).update(t + "." + rawBody).digest("hex");
if (expected !== v1 || Math.abs(Date.now() / 1000 - Number(t)) > 300) return res.status(401).end();

Retries#

Failed deliveries retry at 1m, 5m, 30m, 2h, 6h. After five failures the endpoint is disabled automatically and shows up in the integrations panel.

Ordering#

Deliveries are at-least-once and unordered. De-duplicate on the event id, not on the payload.

Missing something? Ask for API access and we answer in writing within 24 hours.