Skip to main content

API Key Authentication

All API requests require an API key in the X-API-Key header.
X-API-Key: YOUR_API_KEY

Example Usage

curl -X GET https://api.example.com/v1/organizations \
  -H "X-API-Key: YOUR_API_KEY"

Error Responses

{
  "error": "Invalid API key",
  "powered_by": "Teli"
}

Security Best Practices

  • Store API keys in environment variables
  • Never expose keys in client-side code
  • Rotate keys periodically
  • Monitor API usage for anomalies