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

# Authentication

> Bearer API keys, created in the dashboard.

Every request carries your key as a bearer token:

```http theme={null}
Authorization: Bearer as_live_…
```

Keys are created and revoked in **Settings → API & agents**. They are stored hashed; the plaintext is shown once at creation.

| Response | Meaning                                        |
| -------- | ---------------------------------------------- |
| `401`    | Missing, unknown, or revoked key               |
| `402`    | An active plan is required for this operation  |
| `429`    | 14-day allowance (30 ads per language) reached |
| `409`    | A batch is already generating                  |

The same keys authenticate the [MCP server](/mcp-server).
