Skip to main content
POST
/
v1
/
ambient
/
api
/
auth
/
token
Password flow
curl -sS -X POST https://rcm-api.athelas.com/v1/ambient/api/auth/token \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'username={email}&password={password}'
{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "token_type": "bearer"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/x-www-form-urlencoded
username
string
required

Service account username/email

password
string<password>
required

Response

200 - application/json

JWT access token

access_token
string
required

JWT token

token_type
enum<string>
required
Available options:
bearer