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

# Authentication

> Authenticate requests to the TAMTAM Public API with an account API key.

All requests to the TAMTAM API are authenticated with an account API key passed in the `Authorization` header.

## Get an API key

API keys are issued per account. Contact your TAMTAM administrator to obtain one.

<Warning>
  Treat your API key like a password. Never commit it to source control or expose it in client-side code.
</Warning>

## Send the key

Pass the raw key in the `Authorization` header. Do **not** prefix it with `Bearer`.

```bash theme={null}
curl https://api.tamtam.ai/api/v2/personas \
  -H "Authorization: YOUR_API_KEY"
```

## Errors

| Status                  | Meaning                                                      |
| ----------------------- | ------------------------------------------------------------ |
| `401 Unauthorized`      | Missing or invalid API key                                   |
| `429 Too Many Requests` | Rate limit exceeded — see [Rate limits](/guides/rate-limits) |
