authentication

Basic Authentication endpoint (legacy api)

Authenticate using basic authentication (legacy api), token expires in 1 hour, the max age of the token is set at 2 days

post/authentication/legacy

Request body

usernamestring required

Username of the user attempting to authenticate

passwordstring required

Password of the user attempting to authenticate

companyApiRootstring required

Company's root URL

Response

Returns a JSON Web Token to be used to authorize requests

tokenstring required

JSON Web Token that is used to authorize requests

tokenTypestring required

Type of token that is returned

expiresIninteger required

Changes