Authenticating your data source to use our APIs
Learn how to authenticate your front end to enable it to send data to Affective Computing through API calls
To connect the front end of your data source (app or device) to Affective Computing, you must complete the authentication process and obtain an access token. This access token enables you to securely call our APIs and send external data.
You must include your access token in the header of your API calls in the following format:
Authorization
Bearer <your valid access token>
If your request is authorized, your application can access the outcomes associated with your tenant account.
However, before obtaining an access token, you must first generate an API key and its corresponding secret key.
Generating an API key
You can generate your API and secret keys either using the Portal or an API itself.
Obtaining an API key from the Portal
Obtaining an API keyObtaining an API key using an API
You can obtain your keys using the GenerateApiKey endpoint in the ApiKeys collection. For detailed API documentation, see:
Obtaining an access token
Access tokens allow you to make requests to our APIs. To obtain an access token, do the following:
Generate your access token using the
Authendpoint in theTokenAuthcollection.
For detailed API documentation, see:
Issue a new access tokenLast updated
Was this helpful?