← help centergetting started
API quickstart - first authenticated call
From account to working Bearer token in five requests.
3 min read
- ›Register at /register (or via the app).
- ›POST /api/v1/auth/token with grant_type=password + your credentials + an installation name - receive access_token + refresh_token.
- ›Call GET /api/v1/me with Authorization: Bearer access_token - confirms identity and installation.
- ›GET /api/v1/entitlements - see your plan, allowlists, and remaining allowance before spending.
- ›POST /api/v1/usage with a unique requestId to record a request (idempotent - retry freely).
When the 15-minute access token expires, POST /auth/token with grant_type=refresh_token - the refresh token rotates on every use, so store the new one.
See also
Didn't solve it?
Open a support ticket →