Every endpoint in the Adeli REST API has its own page here: what it does, the
parameters it takes, a request you can copy in cURL, JavaScript, or Python, and
the responses it returns. For how the API fits together, start with the
Overview.
Base URL
All endpoints live under /api/v1, and every response is JSON.
bash
https://app.tryadeli.com/api/v1
Authentication
Every request carries your API key as a bearer token. Keys are created in the
dashboard and belong to your organization; see Authentication.
http
Authorization: Bearer rk_live_...
The examples on these pages read the key from an environment variable:
bash
export ADELI_API_KEY='rk_live_...'
Errors
Every failure returns the same envelope, with a stable code to branch on and
a message for humans. Errors lists every status and code.
json
{ "error": { "code": "profile_not_found", "message": "Profile not found" }}
OpenAPI
The whole API is described as an OpenAPI 3.1 document at
/docs/openapi.json. Import it into Insomnia or another
client, or generate a client from it. Prefer Postman? Fork the
Adeli Postman collection, which is generated from this
document.