API keys allow your backend servers to interact with Fluxrate without user authentication. They are scoped to specific operations for security.
Scopes
Creating an API Key
- Go to API Keys in the sidebar
- Click Create API Key
- Give it a descriptive name (e.g., “Production Backend”)
- Select required scopes
- Click Create
- Copy the key immediately — it’s only shown once
The key value is shown only once at creation time. If you lose it, delete the key and create a new one.
Listing API Keys
Note: The key secret is never returned in list responses — only the key ID, name, scopes, and status.
Deleting an API Key
Deleted keys are immediately revoked. Any requests using that key will receive a 401 Unauthorized response.
Security Best Practices
- Least privilege — Only grant the scopes your integration actually needs
- Environment variables — Store keys in environment variables, never in code
- Rotate regularly — Delete and recreate keys periodically
- Per-environment — Use separate keys for development, staging, and production
- Monitor — Watch for unexpected usage patterns
Keys follow the format: org_live_<random> for production keys.