Authentication
All API requests require an API key sent in the x-api-key header.
API keys
Create and rotate keys from the Root dashboard.
Security
- Never expose secret keys in frontend code, public repos, or client-side bundles.
- Rotate keys periodically and revoke unused keys.
- Use separate keys per environment and per integration.
Unauthorized requests return 401 with an authentication_error response. See Errors.