Skip to main content
Call this endpoint once per session to obtain the JWT token required in the Token header of every subsequent Atlas API request. No prior authentication is needed — your credentials travel in request headers.

Endpoint

Request headers

string
required
Your client identifier issued by Atlas during onboarding.
string
required
Your client secret paired with the Client-Id, issued by Atlas during onboarding.

Response

string
A signed JWT token. Pass this value in the Token header of all protected endpoints.
integer
Token lifetime in seconds. Atlas tokens expire after 3600 seconds (1 hour).

Example

Error responses

Store the access_token securely (for example, in memory rather than in local storage) and refresh it before it expires. You can use the POST /refresh-token endpoint to obtain a new token without re-sending your full credentials.