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

# Authentication

> Securely access your TalkToHumans workspace data

## API authentication

The API uses bearer API-key authentication.

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

API keys are workspace-scoped. Only organization owners and admins can generate a key from the app.

IMPORTANT: Generating a new key revokes the previous key for that workspace.

Example:

```bash theme={null}
curl "https://api.talktohumans.app/v1/organization" \
  -H "Authorization: Bearer $TTH_API_KEY"
```

## MCP authentication

The MCP uses OAuth bearer authentication, not TalkToHumans API keys.

MCP endpoint:

```text theme={null}
https://api.talktohumans.app/mcp
```
