Authorization

Retrieves an access token.

This route returns an access token which is to be used for all subsequent requests in the Authorization header.

post/auth

Request body

usernamestring required
passwordstring required

Example request

{
  "username": "Username",
  "password": "MyPassword"
}

Response

Status Code 200: Successful Response - the request was successful!

successboolean
tokenstring

Example response

{
  "success": true,
  "token": "{token-value}"
}

Changes