contentbox-boxlang-api-headlesslisted
Install: claude install-skill ColdBox/skills
# ContentBox API & Headless Development (BoxLang)
Build headless and REST API integrations with ContentBox CMS using BoxLang. ContentBox provides a full REST API (v1) for managing all content types, enabling headless CMS architectures.
## API Architecture
The API module lives at `modules/contentbox/modules/contentbox-api/` with a nested v1 module at `modules/contentbox/modules/contentbox-api/modules/contentbox-api-v1/`.
### API v1 Handlers
| Handler | Resource | Description |
|---------|----------|-------------|
| `auth.bx` | Authentication | JWT token generation and validation |
| `authors.bx` | Authors | Author CRUD operations |
| `categories.bx` | Categories | Category CRUD operations |
| `comments.bx` | Comments | Comment management |
| `contentStore.bx` | ContentStore | Key-value content blocks |
| `contentTemplates.bx` | Templates | Content template management |
| `entries.bx` | Entries | Blog entry CRUD operations |
| `menus.bx` | Menus | Menu management |
| `pages.bx` | Pages | Page CRUD operations |
| `relocations.bx` | Relocations | URL redirect management |
| `settings.bx` | Settings | Global settings API |
| `siteSettings.bx` | Site Settings | Site-specific settings |
| `sites.bx` | Sites | Multi-site management |
| `versions.bx` | Versions | Content versioning |
| `echo.bx` | Health Check | API health check / echo |
### Base Handler Pattern
API handlers extend `BaseHandler` (which extends `cborm.models.resources.BaseHandler`):
```boxlang
// handlers/api/v