Every Runflow API request needs anDocumentation Index
Fetch the complete documentation index at: https://docs.runflow.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer <token> header. Requests without a valid token return 401 Unauthorized.
Header
Get a key
- Sign in at app.runflow.io.
- Open Settings -> API Keys, click Create.
- Copy the token. It is shown once.
- Save it as
RUNFLOW_API_KEYin your secret manager.
Example
200 with your account payload confirms the key works.
Rotate
Compromised key? Revoke it from the dashboard, create a new one, deploy. No downtime if you keep both keys live during cutover.Best practices
- Read the token from an env var or secret manager. Never commit it.
- Use distinct keys per environment so a leak in staging cannot touch prod.
- Call the API from your backend, not the browser.
- Watch for
401spikes. They usually mean a leaked or rotated key.
Related
Errors
Status codes and the error envelope.
Get started
Make your first authenticated call.