▶️API Authentication

The first step to integrate with Unitary's API is setting up authentication. Unitary's API provides an authentication endpoint which uses your API key to generate a Bearer token that must be included in any subsequent API requests you wish to make.

The endpoint reference below gives more detail about how to use the authentication endpoint, how to use the returned Bearer token, and the expiration of tokens.

This API Authentication guide assumes you have your API key already set up. If this is not the case, please email at support@unitary.ai.

Endpoint reference

Example code

curl --location --request POST 'https://api.unitary.ai/v1/authenticate'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'key={API_KEY}' 

Last updated