> ## Documentation Index
> Fetch the complete documentation index at: https://docs.supportai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> Learn how to authenticate API requests with the Support AI platform.

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](https://supportai.com/app/) 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

```bash
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

```bash
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.

---

This knowledge base is built and hosted on [Weav](https://weav.com).
