Skip to content

Authentication

We support multiple types of authentication to offer the greatest compatibility

Token Authentication

The default and recommended way is to send the X-Token header with the generated token for the user to use (see Quick Start)

X-Token: asdfgasdfgasdfgasdfgasdfgasdfg

Basic Authentication

The basic authentication method can be used (less recommended), sending the standard header with the username and password, for example:

echo -n "user.account:open sesame" | base64
dXNlci5hY2NvdW50Om9wZW4gc2VzYW1l

Authorization: Basic dXNlci5hY2NvdW50Om9wZW4gc2VzYW1l

POST Authentication

Last and least recommended, sending the credentials through POST parameters is allowed.

  • user: concatenate user + "." + account
  • pass: password