Environments
Your API base URL is shown in the API URL field when you create an OAuth application in Settings → Manage APIs. It follows the pattern:Authentication
The API uses the OAuth 2.0 Client Credentials grant. You exchange aclient_id and client_secret for a short-lived JWT, then send it as a Bearer credential in the Authorization header on every request.
Conventions
Errors
Oleria uses conventional HTTP status codes to indicate success or failure. Error responses include a stable JSON body withcode and message fields you can branch on.
Rate limits
The Oleria API enforces per-tenant rate limits to protect platform stability. When you exceed your limit, the API returns429 Too Many Requests with a Retry-After response header (in seconds). Implement exponential back-off in your client to avoid compounding pressure on the gateway.
Example request
Once you have an access token (see Generate an API Token), call the API by passing the token as aBearer credential. For example, to start a CSV export of the identity inventory:
Next steps
Generate an API token
Walk through the OAuth 2.0 Client Credentials flow end-to-end, with troubleshooting and token-rotation guidance.

