API referenceAccount
POST /api/token
Authenticates a service account and returns a JWT bearer token for all further requests.
Credentials can be provided as a JSON body (preferred) or as an
Authorization: Basic <base64(username:password)> header (backwards compatible).
POST
/api/tokencurl -X POST "/api/token" \
-u "$ATLAS_ETRM_API_DOCUMENTATION_API_KEY:"Authorization
AuthorizationstringheaderrequiredBasic authentication. Credentials are Base64-encoded username:password sent in the Authorization header.
Response
application/json
The JWT token used for all further requests.
successbooleanrecordCountinteger<int32>datastring | null
{
"success": true,
"recordCount": 0,
"data": "string"
}