Authentication
Every API request must include a valid API key in theX-API-KEY header.
API keys
Each key is scoped to a single project. One project, one key. Environment separation. Staging and production use different keys. A staging key does not authenticate against the production URL. Your project hash is the same across environments, but the keys are not interchangeable. Storage. Store keys in environment variables or a secrets manager (AWS Secrets Manager, HashiCorp Vault, GCP Secret Manager). Never commit keys to version control, embed them in client-side JavaScript, or log them in application output.Key rotation
Contact Zenoo support to rotate your API key. The process:1
Request a new key
Contact Zenoo support to request a new API key for your project.
2
Receive the new key
Zenoo generates the new key and revokes the old one immediately.
3
Deploy the new key
Deploy the new key to all applications, environment variables, and CI/CD secrets immediately after receiving it.
There is no grace period where both keys are active. Plan your deployment before requesting rotation. Update all configuration, environment variables, and CI/CD secrets, then deploy immediately after receiving the new key.
Error responses
401 Unauthorized
X-API-KEY header is present and contains the correct key for your environment. If the key was recently rotated, retrieve the new key from your secrets manager.
Do not retry 401 errors. The same key will fail every time.