Authentication

Retrieve Authentication Token

Exchange credentials for JWT and Refresh tokens. The returned tokens are required to use other API endpoints and to retrieve new tokens before they expire. For initial authentication, supply your username and password with the Basic authorization format header. For subsequent authentications, use the refresh token in the Bearer format.

post/auth/token

Request

Response

Auth Tokens

token_typestring

The type of token received. Will be Bearer.

expires_ininteger

The number of seconds until the token expires.

refresh_tokenstring

The refresh token to be used to retrieve a new JWT.

id_tokenstring

The JWT token. Use this in the Authorization header in requests to other endpoints.

Example response

{
  "token_type": "Bearer",
  "expires_in": 3600,
  "id_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxM",
  "refresh_token": "eyJxdWVyeSI6ImRvZ3MifQ=="
}

Changes

No recorded changes to this operation across all 1 revision of this API.