Authentication

You'll need to authenticate your requests to access any of the endpoints in the Unvero API. In this guide, we'll look at how authentication works.

Authentication with bearer token

The way to authenticate with the Unvero API is by using Bearer token as header parameter when sending requests. Bearer tokens can only be generated by an administrator. Your access token can be found at Settings. Here's how to add the token to the request header using cURL:

Example request with bearer token

curl /prices \
  -H "Accept: application/json" \
  -H "Content-type: application/json" \
  -H "Authorization: Bearer {token}"

Always keep your token safe and ask administrator to reset it if you suspect it has been compromised.