API Keys Management
Manage API keys for your projects via the Developer API. API keys are scoped to individual projects and inherit the project’s security settings.Endpoints
List API Keys
Retrieve all API keys for the authenticated user.Full API key values are never returned in list responses. Use the Reveal endpoint to retrieve the full key.
Create API Key
Create a new API key for the current user.
Response (201 Created)
Delete API Key
Permanently delete an API key. This immediately revokes access.
Response (200 OK)
Toggle API Key Status
Enable or disable an API key without deleting it.
Response (200 OK)
Reveal API Key
Retrieve the full API key value. Use this to copy a key you’ve previously created.
Response (200 OK)
Code Examples
- Python
- Node.js
- cURL
Error Responses
Best Practices
- Name keys descriptively — Use names like “Production Backend” or “Staging Cron Job” so you can identify them later
- One key per service — Don’t share keys between applications
- Rotate every 90 days — Create new key → update apps → delete old key
- Use toggle for incidents — Disable a compromised key immediately without losing the configuration
- Monitor last_used_at — Delete keys that haven’t been used in a while