API Authentication

ConnectReport authenticates your API requests using access tokens. You can view and manage access tokens in the management console.

Authentication to the API is performed by supplying the access token in an X-Api-Key header.

Your access tokens carry many privileges. Be sure to store them securely. Do not share access tokens in client-side code, version control, and so forth. 

Example API request using access token:

curl -X GET \
https://<SERVER_URL>/api/v1/reports \
-H 'X-API-KEY: <ACCESS_TOKEN>'

Note that by default, ConnectReport does not enable CORS. You should refer to Manage Origin Policies to configure CORS for your origin before attempting to make API requests.