Webhooks
Hear about decisions, approvals, comments and new versions the moment they happen.
Subscribe
Add a webhook in Settings → Integrations, or from code with POST /v1/webhooks. Each one has its own signing secret. GET /v1/events lists every event type.
What arrives
Each event is a JSON POST with three headers:
TrulyFinal-Event: the type, such asdecision.made.TrulyFinal-Delivery: this delivery's id. The body'sidis the event's, the same on every retry, so use it to skip duplicates.TrulyFinal-Signature:t=<unix seconds>,v1=<hex HMAC-SHA256 of "t.body">, keyed with the signing secret.
{
"id": "evt_01jd0…",
"type": "decision.made",
"createdAt": "2026-11-15T09:30:00.000Z",
"studio": {
"id": "org_…",
"name": "North Studio"
},
"actor": {
"type": "reviewer",
"name": "Carla Client",
"email": "carla@client.com"
},
"project": {
"id": "prj_…",
"name": "Spring campaign",
"reference": "PO-1042",
"url": "https://app.trulyfinal.com/projects/prj_…"
},
"file": {
"id": "ast_…",
"name": "Brochure",
"externalId": "crm-42",
"url": "https://app.trulyfinal.com/files/ast_…?v=2"
},
"version": {
"id": "ver_…",
"number": 2,
"filename": "brochure-v2.pdf"
},
"review": {
"id": "rnd_…",
"stage": "Client review",
"status": "approved",
"dueAt": null
},
"data": {
"value": "approved",
"decision": {
"id": "dec_…",
"value": "approved",
"note": null,
"pages": null
}
}
}
Approved, and approved with changes
A reviewer can approve a version on condition of small changes. Since November 2026 that is its own state:
- A file's
statusis one ofdraft,in_review,changes_requested,approved_with_changes,approvedordelivered. These files used to reportapproved. approval.sealedfires for both and carriesdata.outcome:approvedorapproved_with_changes. Treat onlyapprovedas final: the next version goes back to that reviewer to confirm.- A file that is approved with changes cannot be delivered; the delivery request answers
409.
Check the signature
import crypto from "node:crypto";
// header: TrulyFinal-Signature: t=1763200000,v1=5f2b…
function verify(secret, header, rawBody) {
const parts = Object.fromEntries(header.split(",").map((kv) => kv.split("=")));
const expected = crypto.createHmac("sha256", secret).update(`${parts.t}.${rawBody}`).digest("hex");
const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) < 300;
return fresh && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1 ?? ""));
}
Sign the raw body exactly as it arrived, before any JSON parsing, and refuse anything older than five minutes.
Retries
Answer with any 2xx within 10 seconds. Anything else is retried after 1 minute, 5 minutes, 30 minutes, then 2, 6, 12 and 24 hours: eight attempts over about two days. The settings page lists recent deliveries with what your server answered, and can send one again. Send test event sends a ping.
Chat channels, no code
Paste a Slack, Discord or Google Chat incoming-webhook address, or a Basecamp chatbot's address, instead of your own URL. The channel then gets a short message for each event.
Events
| Type | When |
|---|---|
project.created project.completed project.archived project.deleted | A project starts, is marked complete, archived or deleted. |
version.uploaded version.ready version.processing_failed | A file or new version arrives, is ready to review, or couldn't be prepared. |
round.started stage.advanced reviewer.invited | A version goes out for review, moves to the next stage, or gets new reviewers. |
decision.made decision.withdrawn round.overridden | A reviewer approves or asks for changes (data.value), takes it back, or the team records it for them. On a multi-page PDF a reviewer can decide on some pages: data.decision.pages lists them (1 is the first page), and is null when the decision covers the whole file. The file is approved when approval.sealed arrives. |
approval.sealed approval.revoked | A file is approved and its approval record sealed, or the approval is withdrawn. |
round.overdue | A review passes its due date. |
comment.created comment.replied comment.resolved | Comments, with the text in data.comment. |
delivery.sent delivery.downloaded | Final files are delivered, and the client downloads them. |