A 401 response indicates invalid authorization credentials. The security token is missing or invalid. See Get started for guidance on setting up your API token.
This sample JSON shows a typical 401 error response:
{
"id":"1",
"time":"2/4/22 10:21 AM",
"message":"Unauthorized",
"error":"Rest.API.Unauthorized"
}