Make your first API call
The ZeroWidth API is plain HTTPS + JSON. Base URL:
https://api.zerowidth.ai/1.0
A call with no key
The public flow gallery is anonymous — this works right now, no setup:
curl "https://api.zerowidth.ai/1.0/flows/public?limit=3"
{
"data": [
{ "flowUuid": "b3c1a2d4-…", "name": "Support triage", "forkCount": 12, "updatedAt": "…" }
],
"nextCursor": null
}
That's the shape of every list endpoint — a data array and a nextCursor (see Pagination).
A call that does something
To run your own flow, you need a key and a flow.
- Mint an API key
At accounts.zerowidth.ai → Workspace → API keys, create a key with the
workbench:flows:runscope. Copy the secret when shown — it's the only time you'll see it. (Authentication) - Get a flow's id
Open a flow in Workbench and copy its Flow ID from the dev drawer → Quickstart (a UUID — not the id in the editor URL). Publish a version if you haven't.
- Run it
curl -X POST https://api.zerowidth.ai/1.0/flows/<flowUuid>/runs \ -H "Authorization: Bearer zw_live_…" \ -H "Content-Type: application/json" \ -d '{"input":{"kind":"form","values":{"data":"hello"}},"source":{"kind":"published"}}'The response carries the flow's outputs, the run's cost, and its duration. That's your flow, live. (Run a flow)
Next
API keys vs personal tokens, the key format, scopes.
ReferenceErrorsThe error envelope and the codes you'll switch on.
IntegrationMCP serverDrive ZeroWidth from Claude, Cursor, or any MCP client.
GuideThe improvement loopHow the products compose: find → build → prove.