Authentication & API Keys
Aevum Zenth's API uses OAuth 2.0 and API keys for authentication. All requests must be made over HTTPS and include valid credentials in the Authorization header.
az_prod_. Sandbox keys begin with az_test_. Never commit production keys to version control.
Using API Keys
API keys are the simplest way to authenticate. Generate them from the Developer Dashboard and attach them to your requests:
OAuth 2.0 Flow
For user-delegated access, implement the standard Authorization Code flow with PKCE. Aevum Zenth supports the following grant types:
- Authorization Code - Standard web/mobile applications
- Client Credentials - Server-to-server machine accounts
- Refresh Token Rotation - Automatic token renewal with sliding windows
15 minutes. Refresh tokens are valid for 30 days and rotate on each use. Implement automatic retry logic for 401 responses.
Token Request
Exchange your authorization code for an access token by posting to the token endpoint:
Rate Limits & Quotas
API access is tiered based on your subscription plan. Exceeding limits will result in 429 Too Many Requests responses with a Retry-After header.
| Plan | Requests / Minute | Requests / Day | Burst Allowance |
|---|---|---|---|
| Developer | 60 | 10,000 | 15 |
| Team | 300 | 500,000 | 50 |
| Enterprise | Unlimited | Unlimited | Custom |
Standard Error Responses
All errors follow RFC 7807 Problem Details. The response body includes a type URI pointing to the relevant documentation.