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.
Generate API tokens
To generate an API token:
- Sign in to the Intelligence Center web interface.
- Select your profile image (bottom-left corner of the screen).
- Select My Profile from the menu that appears.
- Scroll to the API Tokens section.
- 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"
Updated over 2 years ago