API Keys
Generate API keys to access PromptPit programmatically.
Creating an API Key
- Go to Settings > API Keys
- Click "Generate New Key"
- Enter a name for the key (e.g., "Development", "Production")
- Copy the key immediately - it won't be shown again
Security Note
Keep your API keys secure. Never commit them to public repositories or share them publicly.
Using the API
Include your API key in the Authorization header:
Authorization: Bearer your-api-key-here
Revoking Keys
To revoke an API key:
- Go to Settings > API Keys
- Find the key in the list
- Click "Revoke"
- Confirm the action