Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.



Obtaining a Token

In order to use any secure REST API resources, you need a valid bearer token. This is generated by the Login User resource. You will find a "token" attribute in the JSON response after a successful login call. The returned token is a standard JSON Web Token (JWT) and will look something like this:


Using a Token

You must pass a valid token to all secure REST API resources or you will get a 401 error response. To do that, add the HTTP Authorization header with the Bearer schema in your API request. For example:

Authorization: Bearer <token>