Prerequisites
- Tenant plan:
level2orlevel3 - User role:
owner - Access to
/settings/api-access
Create API key
- Open API Access page
- Enter key name
- Set optional expiry
- Create key and store plaintext value securely
- Plaintext key is typically shown once.
Use in requests
Rotation and revocation policy
- Rotate periodically
- Revoke unused keys quickly
- Rotate/create new key
- Deploy application with new key
- Verify traffic
- Revoke old key
Typical error codes
401: missing/invalid/expired key403: plan/role requirement not met404: tenant/site not found429: rate-limited
Production standards
- Separate keys per environment
- Keep keys server-side only
- Log and monitor key-based traffic