Skip to content

Headers and authorization

Required header key/value pairs

  • All API calls are required to have the key/value pair of Content-Type: application/json in their header.
  • All API calls are required to have the key/value pair of auth-token: {valid_auth_token} in their header.

Requiring valid auth-token

The values for {valid_auth_token} can be found on the "Edit company" page that is available in the "Company tools" menu in the dashboard. The "Read-only token" should be used in all the solutions that don't require write access.

Example auth-token

A valid auth-token looks like this: auth-token: e9dc5901448d61e20b35e209bb09adcc