The Content API lets you manage your published content programmatically. Create pages, update posts, and manage your content library from code.

List Content

GET /api/admin/nodes?limit=20&offset=0

Returns a paginated list of all your content nodes. Filter by status, type, or search query.

Create Content

POST /api/admin/nodes
Content-Type: application/json

{
  "title": "My New Page",
  "slug": "my-new-page",
  "node_type": "page",
  "body": "<p>Hello, world!</p>",
  "status": "published"
}

Update Content

PATCH /api/admin/nodes/:id
Content-Type: application/json

{
  "title": "Updated Title",
  "body": "<p>Updated content.</p>"
}

Archive Content

DELETE /api/admin/nodes/:id

Content is soft-deleted (archived), not permanently removed. You can restore archived content from the Library.

Response Format

All responses return JSON with this structure:

{
  "success": true,
  "data": { ... },
  "meta": {
    "total": 42,
    "limit": 20,
    "offset": 0
  }
}

Feedback

Was this page useful?

Tell us whether this page helped so we can improve examples, docs, and product defaults.

No feedback recorded yet.

No response recorded yet.