latestOpenAPI 3.0.02026-08-08163663.9 KB

4aa7f4326443

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}"
}