API Keys
Create API keys to connect external tools to Writerflow.
What API Keys Are For
API keys let external tools and scripts talk to Writerflow’s API — for example, to search documents or push content from another system. Each key carries its own permissions.
Creating a Key
- Go to Settings → API Keys and click “Create API Key”
- Give the key a name (e.g., “WordPress Plugin”)
- Choose its scopes — Read, Write, Approve, and Webhooks
- Click Create Key
- Copy the key immediately — it’s shown only once
Using a Key
Send your key in the X-Api-Key header when calling the API. The API base URL is https://api.writerflow.io/api/v1. For example:
curl -H "X-Api-Key: YOUR_KEY" https://api.writerflow.io/api/v1/documents/search?q=
Managing Keys
From the API Keys page you can edit a key’s scopes, regenerate it (which immediately invalidates the old value), or revoke it. The table shows each key’s scopes and when it was last used.