Skip to main content

Authentication

All API requests require a valid API key passed in the Authorization header.

API Keys

API keys start with dk_live_ and are created from the dashboard.

SDK Authentication

Security Best Practices

  • Never expose API keys in client-side code — always use server-side API calls or environment variables
  • Rotate keys regularly — create new keys and revoke old ones from the dashboard
  • Use separate keys for development and production
  • Keys are hashed — we never store your API key in plaintext

Rate Limits

When rate limited, the API returns 429 Too Many Requests with a Retry-After header.