Automation · Public API
Internal betaThree calls, one key.
Start a run of a live workflow, read a run with every step's state, decide a waiting step. A workspace API key with the matching scope, the same rules the app applies, and nothing else to learn.
- Start, read and decide — three calls
- Scopes: workflows:run, workflows:read, workflows:decide
- 120 requests a minute per key
- 01Create a key with a workflow scope
- 02POST a payload to start the run
- 03GET the run to see each step
- 04POST a decision on a waiting step
Keys and scopes
A key for the workspace, a scope for the job.
Keys are made under DataBoard → Integrations → API keys and belong to the workspace they were made in: a company's, or just yours. Each call needs one scope; a key carries only the scopes it was given.
01
Where the key goes
Send it as an x-api-key header, or as Authorization: Bearer fyb_…. Either works on every call.
02
What a key can reach
Live workflows of its workspace. In a personal workspace, the workflows its owner built in a module people may automate alone.
03
Who decides
A decision made by API is made as the key's owner, under the same rules as in the app: self-approval, delegation and who-else-may-decide all still apply.
04
When it is refused
A missing scope is 403; a workflow or run outside the workspace is 404; a step not waiting is 409; past the limit is 429 with a Retry-After header.
Scopes
Per key- workflows:runPOST /workflows/:workflow_id/runsstart
- workflows:readGET /runs/:run_idread
- workflows:decidePOST /runs/:run_id/steps/:node_execution_id/decidedecide
Every path is under /api/v1/workflows/public/v1 on the Fyboard API your workspace uses.
The three calls
Start, read, decide.
01
Start a run
POST a JSON body { payload: {…}, entity_id? } to a live workflow. The payload is the run's trigger data; conditions and steps read it as they would any event. You get the run's id and status.
02
Read a run
GET a run for its status and its steps: each step's name, state, who decided and when, and for a waiting approval, since when and the deadline its timer fires at.
03
Decide a step
POST { decision: 'APPROVE' | 'REJECT', comment? } on a step that is waiting. The engine applies the decision as if made in the inbox, and the run moves on.
04
Idempotent reads, bounded writes
Reads are free of side effects. A start always makes a new run; a decision on a step already decided is 409, never a second decision.
A run, call by call
Example- POST …/workflows/9f2c…/runs{ "payload": { "amount": 60000, "vendor": "Acme" } }201 · ACTIVE
- GET …/runs/a8c7…steps: Start ✓ · How many approvals ✓ · Two people approve ⏳ (1 of 2)200
- POST …/runs/a8c7…/steps/01f3…/decide{ "decision": "APPROVE", "comment": "Within budget" }200 · decided
Ids shortened. Every response is JSON with success, message and data.
In plain numbers
Scoped, limited, and the same rules.
- calls, one scope each
- 3
- calls, one scope each
- requests per key
- 120/min
- requests per key
- ways to send the key
- 2
- ways to send the key
- rules the API skips
- 0
- rules the API skips
The rest of Automation
Where to go next.
- OverviewDraw a workflow; it runs inside Fyboard.
- BuilderSteps, conditions, joins; validate and test.
- AnalyticsRuns, success, time — and every run's timeline.
- Deadlines & escalationApproval timeouts, escalation, delays.
- Starting points29 module operations that wait on a workflow.
- Webhooks & APISigned webhooks in, HTTP calls out.
- Use casesLeave, purchase orders, contracts, budgets.
- PricingPlans from billing's catalogue.
Questions
Asked and answered.
Is Automation available now?
It's on internal beta, by invitation. Workflows run inside Fyboard modules — 29 operations across People, Materials, AlphaCore, Projects and Finance can wait on one; Materials, Projects and Finance themselves are still in the pipeline.
Where do I make a key?
DataBoard → Integrations → API keys. Pick the workflow scopes the key needs; the raw key is shown once, at creation.
Can an API call start any workflow?
Only a live workflow of the key's workspace. Drafts, archived workflows and other workspaces' workflows are 404.
Does the API bypass approvals?
No. A start runs the workflow's own conditions; a decision is made as the key's owner and refused where the app would refuse it.
What about webhooks?
Webhooks are the other way in: a signed endpoint per workflow, with no key needed. See Webhooks & API.
Automation
Wire a run to your own code.
Make a key, start a run, read it back. Three calls and the rest is the workflow you drew.