Skip to main content

Authentication

All API requests require authentication via API key.

Getting an API Key

  1. Go to Settings > API Keys
  2. Click Create API Key
  3. Name your key
  4. Copy the key immediately — it won't be shown again

Using Your API Key

curl https://api.flowmaestro.ai/v1/workflows \
-H "Authorization: Bearer YOUR_API_KEY"

API Key Scopes

ScopeAccess
workflows:readRead workflow data
workflows:writeCreate/update/delete workflows
workflows:executeExecute workflows
agents:readRead agent data
agents:writeCreate/update/delete agents
agents:chatChat with agents

Security Best Practices

warning

Never expose your API key in client-side code or public repositories.

  • Store keys in environment variables
  • Use the minimum required scopes
  • Rotate keys periodically
  • Revoke unused keys

Error Responses

CodeDescription
401Missing or invalid API key
403API key doesn't have required scope
429Rate limit exceeded