API Authentication

Secure your API requests using API keys. This guide covers how to generate, use, and manage your API credentials.

Getting Your API Key

  1. 1Go to Settings → API in your dashboard
  2. 2Click "Generate API Key"
  3. 3Copy the key immediately - it won't be shown again
  4. 4Store it securely (environment variable or secret manager)

Using Your API Key

Include your API key in the Authorizationheader of every request:

Authorization: Bearer YOUR_API_KEY

Security Best Practices

  • Never commit API keys to version control
  • Never expose keys in client-side code
  • Rotate keys periodically and after any suspected exposure
  • Use environment variables in production

Related Documentation