Authenticate

Authenticate requests to the Intelligence Center REST API

In order to make requests to the REST API,
you must authenticate these requests
with an API token obtained from the Intelligence Center UI.

  1. Generate API token
  2. Authenticate requests

Generate API tokens

To generate an API token:

  1. Sign in to the Intelligence Center web interface.
  2. Select your profile image (bottom-left corner of the screen).
  3. Select My Profile from the menu that appears.
  4. Scroll to the API Tokens section.
  5. Select + Create API token.

Authenticate requests

API requests are authenticated through the Authorization: Bearer HTTP header:

"Authorization: Bearer $EIQ_TOKEN"

Example command:

curl -L https://ic-playground.eclecticiq.com/api/v1/users/self \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer 1fdc6d81fe3174602a2c3aad1a8ec9db961c95d9f0f496c703b7593403286380"