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

# 인증

> v1 API 인증 방법

v1 API는 API 키 인증을 사용합니다.

## API 키 발급

[대시보드](https://sajuapi.dev/dashboard)에서 API 키를 발급받을 수 있습니다.

## 인증 헤더

모든 요청에 `X-API-Key` 헤더를 포함해야 합니다.

```bash theme={null}
curl -X POST https://api.sajuapi.dev/v1/fortunes/daily \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{"birthDate": "1994-12-30", "birthTime": "17:01"}'
```

## 에러 응답

인증 실패 시 다음 응답이 반환됩니다:

```json theme={null}
{
  "success": false,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid or missing API key"
  }
}
```

## Rate Limits

| 플랜         | 요청 제한       |
| ---------- | ----------- |
| Free       | 100 요청/일    |
| Pro        | 10,000 요청/일 |
| Enterprise | 무제한         |
