Authentication
To identify your application and allow access to the API resources, you must send the authentication token in the Authorization header of each request.
http
POST /v1/authentication HTTP/1.1
Host: sandbox.tristarexpress.com
Authorization: Bearer {token}
To test if your token is valid for the desired environment, you can make a request to the /v1/authentication endpoint with the GET method.
If the token is valid, you will receive a response with the status 200.
http
{
"message": "Authenticated."
}
If the token is invalid, you will receive a response with the status 401 and the error message.
http
{
"message": "Unauthenticated."
}

