Authentication

Generate API Token

All requests to the Tines REST API require authentication.

From your Tines profile, select "API Tokens" and press the "Create new token…" button.

img

Enter a recognizable name for the token, e.g.: the application or service name that will leverage the token. Click "Generate".

Using an API Token

Each request sent to the REST API must be authenticated using the API token and corresponding email address. To do so, include the following HTTP Headers with each request:

  • X-User-Token
  • X-User-Email

Note: For all cloud tenants and self hosted tenants using v13+, the X-User-Email header is no longer required

For example:

curl -X GET https://<tenant-domain>/api/v1/events/ \
  -H 'content-type: application/json' \
  -H 'x-user-email: alice@example.com' \
  -H 'x-user-token: sdfj23jsdfkj3cou0'
Was this helpful?