Developers

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.

REST over HTTPS · JSON · OpenAPI 3.1

# 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
Quickstart

Three steps to your first event.

  1. 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 →
  2. 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"
  3. 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 →
Reference

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
idpathThe account's id
GET /api/v1/events The event log, oldest first: the same envelopes webhooks receive Admins
X-Account-IDheaderThe account to work in (acct_…)
afterqueryThe next_after of the page before
limitqueryHow many to return (default 100, at most 500)
typequeryOnly these events, comma-separated
GET /api/v1/discussions The discussion inbox: what's for you, your questions, what you follow
X-Account-IDheaderThe account to work in (acct_…)
filterqueryfor_me (default), my_questions, following or all
GET /api/v1/discussions/{type}/{id} One document's discussion
typepathcommitment, change_order, change_request or purchase_service_request
idpathThe document's id
POST /api/v1/discussions/{type}/{id}/notes Add a note or a question to a document's discussion
typepathcommitment, change_order, change_request or purchase_service_request
idpathThe document's id
textbodyThe note's text
mention_user_idsbodyPeople to mention, by id
kindbodymessage (default) or question
Download the OpenAPI file ↓

Coming next

  • Coming
    Document APIRead and create commitments, change orders and requests with a token.
  • Coming
    Approvals through the API and the AI connectionApprove, reject and add a note, with limits your admins set and a confirmation every time.
  • Coming
    The synergia command lineList, export and act from your terminal and CI.
Webhooks and events

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.submittedA document was submitted for approval
workflow.step_enteredA step became current and is waiting on its approvers
workflow.step_approvedA step was approved
workflow.approvedA document was fully approved
workflow.rejectedA document was rejected
workflow.withdrawnA document was withdrawn from approval
workflow.voidedAn approved document was voided
workflow.step_escalatedAn overdue step was escalated or handed over
document.expiringA guarantee, bond or insurance is expiring or has expired
webhook.pingA 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
AI connection

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 CodeOne command in your terminal.
$ claude mcp add --transport http synergia \
    https://synergiaflow.com/mcp
Claude and ChatGPTAdd a custom connector with this address, then sign in.
https://synergiaflow.com/mcp
Cursor and othersAny MCP client that speaks streamable HTTP and OAuth.
{ "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.
Calendars and Teams

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.

Questions about an integration?