Acme Workflow Builder Docs

API quickstart

Authenticate with an API key, list workflows and runs, trigger a workflow, and read a run's result, in six requests.

Section: Developers · Last updated 2026-09-05 · Applies to: all plans; rate limits vary by plan

The Workflow Builder API lets you list workflows, start runs, read results and manage records from your own code. This page gets you from zero to a completed run in six requests. The full reference, with every endpoint and field, is in the API reference available from your workspace under Settings → Developers.

1. Create an API key

Go to Settings → Developers → API keys and create a key. Keys belong to a user and inherit that user's permissions, so create keys for integration users rather than personal accounts where a workflow outlives a person. The key is shown once; store it in your secret manager. Keys can be scoped to read only and can be revoked at any time.

2. Base URL and authentication

https://api.acme.example/v1/workspaces/{workspace}
Authorization: Bearer ak_live_...
Accept: application/json

The workspace segment is your workspace's short id, shown on the API keys page. Every request is scoped to one workspace.

3. Check who you are

GET /v1/workspaces/acme/whoami

200 OK
{"user": {"id": "usr_8f2", "email": "integrations@acme.example"},
 "role": "builder", "key": {"id": "key_41a", "scopes": ["read", "write"]}}

4. List workflows

GET /v1/workspaces/acme/workflows?status=enabled

200 OK
{"items": [{"id": "wf_2b9", "name": "Notify billing on new Enterprise deal",
            "trigger": {"type": "record_created", "table": "deals"}, "status": "enabled"},
           {"id": "wf_7c1", "name": "Weekly overdue sweep",
            "trigger": {"type": "schedule", "cron": "0 7 * * 1"}, "status": "enabled"}],
 "next": null}

List endpoints return up to 100 items and a next cursor; pass it back as ?cursor= to continue.

5. Start a run

Any enabled workflow can be started through the API regardless of its trigger type. The body becomes {input} in the run; for record-triggered workflows, pass the record id.

POST /v1/workspaces/acme/workflows/wf_2b9/runs
Content-Type: application/json
Idempotency-Key: 6d2c0f1a-...

{"record_id": "rec_91x", "input": {"source": "crm-sync"}}

202 Accepted
{"run": {"id": "run_e55", "status": "running", "started_at": "2026-09-05T14:02:11Z"}}

Send an Idempotency-Key header; repeating the request with the same key within 24 hours returns the original run instead of starting another.

6. Read the result

GET /v1/workspaces/acme/runs/run_e55

200 OK
{"id": "run_e55", "status": "completed", "outcome": "completed",
 "steps": [{"name": "find_owner", "status": "completed", "output": {"count": 1}},
           {"name": "send_email", "status": "completed", "output": {"message_ids": ["m_3a"]}}],
 "finished_at": "2026-09-05T14:02:14Z"}

Poll every few seconds, or register a webhook under Settings → Developers → Webhooks to receive run.completed and run.failed events instead. Statuses are queued, running, waiting (paused on an approval or wait step), completed, stopped and failed.

Rate limits

PlanRequests per minuteRun starts per minute
Starter6010
Growth600120
EnterpriseCustomCustom

Limits are per workspace. A limited request returns 429 with a Retry-After header; respect it rather than retrying immediately.

Errors

Errors are JSON with a stable code and a human message: 400 validation_failed, 401 unauthenticated, 403 forbidden, 404 not_found, 409 conflict, 429 rate_limited. Validation errors include a fields list naming each problem.