API · Get startedPremiers pas

API overview

Run your Chainz flows and manage their schedules over HTTP, with the same sign-in and the same credits as the app.

Cette page est en anglais pour l'instant.

Everything you build in Chainz can be called over HTTP, through the same gateway as the app. Calls are charged in credits exactly as in the app.

Base URL

text
$CHAINZ_URL

Note

Chainz is not open yet and its address is published when it opens. Until then, $CHAINZ_URL stands for it in these examples.

In short

Get a token

Sign in to Chainz and get your token from /api/auth/token. See Authentication.

Find your flow's id

Open the flow on the canvas: its id is in the address bar, after /flow/.

Run it

POST /api/run/{flow} with the input. See Run a flow.

Endpoints

MethodPathWhat it does
POST/api/run/{flow_id_or_name}Run a flow and get its outputs.
GET/api/flows/List your flows.
GET/api/flows/{flow_id}One flow, with its components and links.
GET/api/schedules/List the schedules.
POST/api/schedules/Schedule a flow.
GET, PATCH, DELETE/api/schedules/{schedule_id}Read, change, pause or delete a schedule.

Workspaces

Requests act in your active workspace (the one picked in the app). To act in another one, send its id in the X-Workspace-Id header.

Ready-made code

On the canvas, Share › API access gives the code to run that flow, ready to copy.

Was this page helpful?Cette page vous a-t-elle aidé ?

Last updated 2026-11-30Mis à jour le 2026-11-30