Project API Keys
Project API keys authenticate requests within a single project. They are best for application integrations that should only access one project's data and resources.
Creating a Project API Key
- Navigate to the main dashboard
- Select "API" from the main navigation menu
- Click on the "API Keys" tab
- Click the "Create API Key" button
- Enter a name for your API key (e.g., "Production", "Development")
- Click "Create"
caution
Make sure to copy your API key immediately after creation. For security reasons, you won't be able to view it again.
Using Your Project API Key
Include your API key in the Authorization
header of your requests:
Authorization: Bearer YOUR_API_KEY
Revoking Project API Keys
To revoke a Project API key:
- Find the key in the Project API Keys list
- Click the more icon (⋮)
- Select "Delete"
warning
Revoking a Project API key is permanent and cannot be undone. Any applications using the revoked key will stop working.
Best Practices for Project API Keys
- Create separate Project API keys for different environments (development, staging, production)
- Regularly rotate your Project API keys
- Never share your Project API keys in public repositories or client-side code
- Monitor your API usage in the API History