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

# Get Token

> Exchange your API key for a JWT token

## Endpoint

## Request

```json theme={null}
{
  "api_key": "wede_live_YOUR_API_KEY"
}
```

## Response

```json theme={null}
{
  "token": "eyJ...",
  "expires_at": "2026-05-12T10:36:18.223Z",
  "tenant_id": "9eb65ffa-...",
  "tenant_slug": "my-company"
}
```

## Example

```bash theme={null}
curl -X POST https://api.wede.pt/v1/auth/token \
  -H "Content-Type: application/json" \
  -d '{"api_key": "wede_live_YOUR_KEY"}'
```
