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

# Authentication

> Authenticate your requests to the Lanten API using API keys.

All requests to the Lanten API must be authenticated with an API key.

## Generating an API key

1. Go to your [Lanten dashboard](https://app.lanten.ai)
2. Navigate to **Settings → Developers**
3. Click **Create API key**
4. Copy your key — it won't be shown again

<Warning>
  Keep your API key secret. Do not commit it to version control or expose it in client-side code.
</Warning>

## Using your API key

Pass your API key in the `Authorization` header of every request:

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

### Example request

```bash theme={null}
curl https://app.lanten.ai/api/open/v1/issues \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Scopes and permissions

API keys are scoped to your team. A key has access to all resources belonging to your team — issues, tenants, and units.

## Rotating keys

If a key is compromised, delete it from **Settings → Developers** and generate a new one. Deleted keys are revoked immediately.
