Authentication
Support AI uses API keys to authenticate requests and offers two different options. You can add a GET parameter on the request or you can pass a Bearer token header.
API Key
You can view and manage your API key by accessing the Support AI application and then clicking on My account > API Key in the top right.
Authentication Options
Option 1: GET Parameter
When using the GET paremeter method to authenticate, simply append your api_key onto the api request:
Authentication with GET parameter
curl https://api.supportai.com/request?api_key=IDZFdfiD...
Option 2: Bearer Token
When using the Bearer token, add a Authorization header with the value being your API key as follows:
Authentication with Bearer Token
curl https://api.supportai.com/getMyChatbots \
-H "Authorization: Bearer IDZFdfiD..."
Always keep your token safe and reset it if you suspect it has been compromised.