Getting Started
We do not use cookies
The API requests are to be made to the authentication endpoint:https://auth.DOMAIN
DOMAIN - the deployment domain
All API requests to the Annoto backend must be authenticated. The authentication credentials must be provided as two Bearer authorization headers.
The authorization headers are JWT tokens and have relatively short life span as can be inspected by decoding the obtained JWTs. It is advised to make sure the tokens are not expired before using them in API requests and regularly request new tokens.
A Bearer Host-Authorization header is used to identify and authorize requests for specific Host (organization site).
The requests must include this header as:
Header Name | Header Value |
|---|---|
Host-Authorization | Bearer JWT_TOKEN |
A Bearer Authorization header is used to identify and authorize requests for specific user and provide access based on user scopes.
The requests must include this header as:
Header Name | Header Value |
|---|---|
Authorization | Bearer JWT_TOKEN |