API Keys

Generate API keys to access PromptPit programmatically.

Creating an API Key

  1. Go to Settings > API Keys
  2. Click "Generate New Key"
  3. Enter a name for the key (e.g., "Development", "Production")
  4. 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:

  1. Go to Settings > API Keys
  2. Find the key in the list
  3. Click "Revoke"
  4. Confirm the action