Build on your approvals.
React to every submit and sign-off the moment it happens, read your account from your own systems, and let people ask their AI assistant what's waiting on them. Every call works as a real person, with their permissions and nothing more.
# Claude Code. Or add the address in Claude or ChatGPT. $ claude mcp add --transport http synergia \ https://synergiaflow.com/mcp › What's waiting on me? Anything overdue? 4 approvals are waiting on you. CO-0731 Coastal Mechanical $186,400.00 PSR-1002 Harbor Tower $48,900.00 overdue
# Every event in your account, oldest first $ curl https://synergiaflow.com/api/v1/events \ -H "Authorization: Bearer $SYNERGIA_TOKEN" { "data": [{ "id": "evt_8Kq2…", "type": "workflow.approved", "data": { "document": { "number": "CO-0731", "base_total": 186400.0 } } }], "has_more": false }
# What your endpoint receives POST /hooks/synergia X-Synergia-Event: workflow.step_approved X-Synergia-Signature: t=1793634667,v1=5f1c… { "type": "workflow.step_approved", "data": { "document": { "number": "CO-0731" }, "step": { "role": "Director", "status": "approved" }, "actor": { "name": "Dana Whitford" } } }
Event API and webhooks
Every submit, step, approval, rejection and expiring guarantee, pushed to you signed, or read back in order.
Webhooks →AI connection
Connect Claude, ChatGPT or Cursor. People ask what's waiting and read the brief, as themselves.
Connect →Calendars and Teams
Due dates in Outlook, Google or Apple Calendar. Approvals posted to the right Teams channel.
Details →API reference
Your account, the event log and discussions, with an OpenAPI file for Postman and client generators.
Reference →Three steps to your first event.
-
01
Make a token
Signed in, open your profile › Connected apps › API tokens and create one. It acts as you: your accounts, your permissions.
API tokens → -
02
Call the API
Check the token, then read your account's events. The event log is for account admins.
$ export SYNERGIA_TOKEN=… $ curl https://synergiaflow.com/api/v1/me \\ -H "Authorization: Bearer $SYNERGIA_TOKEN" $ curl "https://synergiaflow.com/api/v1/events?limit=10" \\ -H "Authorization: Bearer $SYNERGIA_TOKEN"
-
03
Add a webhook
In Settings › Webhooks, add your HTTPS address and choose events. Send a test, and check the signature on every delivery.
Webhooks →
Small, stable and honest.
These endpoints are the public contract: they work with an API token and won't change under you. Anything not listed here is the web's or the phone apps' own and may change.
GET
/api/v1/me
The person the token belongs to
GET
/api/v1/accounts
The accounts that person belongs to
GET
/api/v1/accounts/{id}
One account
id | path | The account's id |
|---|
GET
/api/v1/events
The event log, oldest first: the same envelopes webhooks receive
Admins
X-Account-ID | header | The account to work in (acct_…) |
|---|---|---|
after | query | The next_after of the page before |
limit | query | How many to return (default 100, at most 500) |
type | query | Only these events, comma-separated |
GET
/api/v1/discussions
The discussion inbox: what's for you, your questions, what you follow
X-Account-ID | header | The account to work in (acct_…) |
|---|---|---|
filter | query | for_me (default), my_questions, following or all |
GET
/api/v1/discussions/{type}/{id}
One document's discussion
type | path | commitment, change_order, change_request or purchase_service_request |
|---|---|---|
id | path | The document's id |
POST
/api/v1/discussions/{type}/{id}/notes
Add a note or a question to a document's discussion
type | path | commitment, change_order, change_request or purchase_service_request |
|---|---|---|
id | path | The document's id |
text | body | The note's text |
mention_user_ids | body | People to mention, by id |
kind | body | message (default) or question |
Coming next
- ComingDocument APIRead and create commitments, change orders and requests with a token.
- ComingApprovals through the API and the AI connectionApprove, reject and add a note, with limits your admins set and a confirmation every time.
- ComingThe synergia command lineList, export and act from your terminal and CI.
Know the moment it's signed.
Each event is recorded once and sent to every webhook that wants it, signed, in the same envelope the event API returns.
Events
workflow.submitted | A document was submitted for approval |
|---|---|
workflow.step_entered | A step became current and is waiting on its approvers |
workflow.step_approved | A step was approved |
workflow.approved | A document was fully approved |
workflow.rejected | A document was rejected |
workflow.withdrawn | A document was withdrawn from approval |
workflow.voided | An approved document was voided |
workflow.step_escalated | An overdue step was escalated or handed over |
document.expiring | A guarantee, bond or insurance is expiring or has expired |
webhook.ping | A test sent from Settings › Webhooks |
Delivery
- Signed. X-Synergia-Signature: t=<time>,v1=<HMAC-SHA256 of "<t>.<body>" with your webhook's secret>. Reject anything that doesn't match or is more than five minutes old.
- Retried. If your endpoint doesn't answer 2xx, we try again after 1 min, 5 min, 30 min, 2 h, and 8 h, then mark the delivery failed.
- Switched off, not lost. After 50 failures in a row a webhook turns itself off and your admins get an email. Events stay in the event log for 30 days.
- HTTPS, public addresses. Webhooks go only to public HTTPS addresses unless your admins allow plain HTTP for testing. They also choose how many webhooks and which events.
Check the signature
# Rails controller t, sig = request.headers["X-Synergia-Signature"].to_s.scan(/(?:t|v1)=([^,]+)/).flatten expected = OpenSSL::HMAC.hexdigest("SHA256", ENV["SYNERGIA_WEBHOOK_SECRET"], "#{t}.#{request.raw_post}") ok = sig.present? && ActiveSupport::SecurityUtils.secure_compare(expected, sig) && Time.now.to_i - t.to_i < 300
// Express, with express.raw() so rawBody is the exact bytes import crypto from "node:crypto"; const [, t, sig] = req.get("X-Synergia-Signature").match(/t=(\d+),v1=(\w+)/) ?? []; const expected = crypto.createHmac("sha256", process.env.SYNERGIA_WEBHOOK_SECRET) .update(`${t}.${rawBody}`).digest("hex"); const ok = !!sig && sig.length === expected.length && crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected)) && Date.now() / 1000 - Number(t) < 300;
# Flask import hashlib, hmac, os, re, time t, sig = re.match(r"t=(\d+),v1=(\w+)", request.headers["X-Synergia-Signature"]).groups() expected = hmac.new(os.environ["SYNERGIA_WEBHOOK_SECRET"].encode(), f"{t}.".encode() + request.get_data(), hashlib.sha256).hexdigest() ok = hmac.compare_digest(expected, sig) and time.time() - int(t) < 300
Your assistant, your permissions.
SynergiaFlow speaks the Model Context Protocol. People connect their own assistant, sign in as themselves, and ask in their own words.
Live, turned on for your account on request
Connect
$ claude mcp add --transport http synergia \
https://synergiaflow.com/mcphttps://synergiaflow.com/mcp
{ "mcpServers": { "synergia": { "url": "https://synergiaflow.com/mcp" } } }What it can do
get_my_contextWho I am here: my roles, the account's currency, today's date.list_my_stepsApprovals waiting on me, overdue and pinned first.get_step_briefingThe brief for one approval: what to check, warnings, the track record, the money.get_documentOne document by number: fields, lines, the approval trail, attachments.get_discussionA document's discussion, oldest first.get_vendor_messagesThe messages between the company and a document’s vendor, oldest first.list_documentsDocuments of one type, by project, company, status or words.list_my_documentsWhat I submitted and who it's waiting on.searchSearch documents and companies, like the search box.get_commitment_positionA commitment's position: changes, estimate, invoiced, paid, left.get_project_summaryA project at a glance: documents, committed against the budget by cost code, my steps.get_companyA supplier: contacts, last 12 months, invoices, expiring guarantees.
What keeps it safe
- Read-only today. Approving with a confirmation is coming.
- Sign-in through your own account, with OAuth. Revoke it any time from Connected apps.
- Sees only what the person can see on the web.
- Text people wrote is labelled as data, never as instructions to the assistant.
- Every call is recorded, and your admins can see them.
Where your people already look.
Calendar feed
A private address for Outlook, Google or Apple Calendar with every due date that's yours. Turn it off or make a new one any time.
Microsoft Teams
Approvals and reminders posted to the channel each project chooses.