Authorization header of every request.
Flow
Getting a token
string
required
Your organization name, issued by Noyax.
string
required
Your API key.
Invalid API credentials., ApiKey expired.).
Refreshing a token
Access tokens are short-lived (a matter of minutes). When a token expires, the API responds with:Recommended practice
- Keep the token in memory or in a shared cache. Do not log in for every request.
- Refresh shortly before the token’s
expclaim, or refresh once when you get401 invalid_tokenand retry the request. - If refreshing fails (
Invalid refresh token.), log in again.
Token contents
The access token carries the settings of your API key, captured when the token is issued:If the permissions or daily limit of your key change, the change takes effect when you get a new token.