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

# Authentication

> Authenticate API requests

## API Keys

All API requests require an API key passed in the `Authorization` header:

```bash theme={null}
Authorization: Bearer YOUR_API_KEY
```

## Getting Your API Key

**1. Sign In**

Go to [app.boostgpt.co](https://app.boostgpt.co)

**2. Generate Key**

**Dashboard → Settings → API Keys → Create New Key**

**3. Copy Key**

Copy and securely store your API key

## Example Request

```bash theme={null}
curl https://api.boostgpt.co/v1/bots \
  -H "Authorization: Bearer sk_live_abc123xyz" \
  -H "Content-Type: application/json"
```

## Security

* **Keep keys secret** - Never expose in client-side code
* **Use environment variables** - Store in `.env` files
* **Rotate regularly** - Generate new keys periodically
* **Delete unused keys** - Remove old keys from dashboard

## Next Steps

> [card] [Errors](/docs/api-reference/errors.md)
>
> Error responses

> [card] [Rate Limits](/docs/api-reference/rate-limits.md)
>
> API rate limits


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.