> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.chattermill.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.chattermill.com/_mcp/server.

# Authentication

Every request needs your API key. You can find it in the Chattermill app under Settings > API, in [the EU app](https://app.chattermill.com/settings/api) or [the US app](https://app-us.chattermill.com/settings/api). A key only works with the base URL of the app it came from.

Send the key as a bearer token in the `Authorization` header:

```bash
curl https://api.chattermill.com/v1/projects \
  -H "Authorization: Bearer YOUR_API_KEY"
```

The API returns `401 Unauthorized` when the key is missing or wrong, or when its user doesn't have access to the project in the URL.

Your key gives the same access to data as your Chattermill account, so keep it out of client-side code and source control.