# Add Library Folder

Add a folder to an existing library (Admin only).

**Endpoint**: `POST /api/libraries/{library_id}/folders`
**Auth**: Required (Admin only)
**Content-Type**: `application/json`

## Path Parameters

| Parameter  | Type   | Required | Description  |
| ---------- | ------ | -------- | ------------ |
| library_id | string | Yes      | Library UUID |

## Request Body

| Field       | Type   | Required | Description             |
| ----------- | ------ | -------- | ----------------------- |
| folder_path | string | Yes      | Absolute path to folder |

### Example Request

```json
{
  "folder_path": "/path/to/comics"
}
```

## Response (201 Created)

```json
{
  "id": "uuid",
  "library_id": "uuid",
  "folder_path": "/path/to/comics",
  "created_at": "2026-01-31T10:00:00Z"
}
```

## Error Responses

| Code | Description              |
| ---- | ------------------------ |
| 400  | Invalid folder path      |
| 401  | Invalid or expired token |
| 403  | User is not an admin     |
| 404  | Library not found        |
