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

# Authentication

> How to authenticate requests to the Developer Platform API.

<Info>
  The Developer Platform API requires a **Max plan**. [Upgrade in your dashboard](https://developer.sirius.menu/settings).
</Info>

## API tokens

Every request needs an `Authorization` header with a Bearer token.

```bash theme={null}
curl https://developer.sirius.menu/v1/projects \
  -H "Authorization: Bearer sdt_a1b2c3d4e5f6..."
```

Tokens start with `sdt_` and are 68 characters long.

## Creating a token

1. Go to [developer.sirius.menu/settings](https://developer.sirius.menu/settings)
2. Scroll to **API Tokens**
3. Enter a name and click **Create token**
4. Copy the token immediately — it's only shown once

Each token has full access to all projects owned by your account. There's no scope system — a token can do anything you can do in the dashboard.

## Errors

**401 Unauthorized** — missing or invalid token.

```json theme={null}
{ "error": "Unauthorized. Use Authorization: Bearer sdt_xxxxx" }
```

**403 Forbidden** — valid token, but you're not on the Max plan.

```json theme={null}
{ "error": "The Developer Platform API requires a Max plan" }
```
