Documentation/API/Authentication

API Authentication

Learn how to authenticate your API requests.

Getting Your API Key

  1. 1Go to your Dashboard
  2. 2Navigate to Settings → API
  3. 3Click "Generate API Key"
  4. 4Copy and store your key securely

Using Your API Key

Include your API key in the Authorization header:

curl -X GET "https://api.redirectflow.io/v1/redirects" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

API Key Security

  • Never expose your API key in client-side code
  • Don't commit API keys to version control
  • Use environment variables to store keys
  • Rotate keys periodically