Skip to content
  • There are no suggestions because the search field is empty.

API Authentication

How to authenticate your requests to Sophiie's API

 

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

Bearer Token

When requesting resources, you will need your API key. Here's how to add the API key to the request header using cURL:

curl https://api.sophiie.ai/v1/... \
  -H "Authorization: Bearer xxxx"

Always keep your API key safe and revoke it if you suspect it has been compromised.a