1. Home
  2. API
  3. Authentication

Authentication

To connect to our API, you must use the Authorization header and use a valid access token. You can generate access tokens in your account settings.

Usage of access tokens

To be able to access any of the available endpoints, you must authenticate with an access token.

$access_token = 't8ZMQLQiquuyMjHFqfqW0hlEvQsNioCQLLe9npgZ';

curl https://eniston.io/api/... \
    -H "Authorization: Bearer $access_token" \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json'

If you run into errors, see the Introduction for more information.


Was this article helpful?