Pages & Content API

Create, read, update, and delete landing pages

List Pages

GET /api/content

Retrieve all pages with optional filtering and pagination.

Query Parameters

  • limit - Number of results (default: 20)
  • offset - Pagination offset

Create Page

POST /api/content

Create a new landing page.

Request Body

{
  "title": "My Landing Page",
  "content": "Page content here",
  "slug": "my-landing-page",
  "meta_description": "A short description of the offer",
  "cta": {
    "type": "button",
    "label": "Get a Quote",
    "url": "https://example.com/quote"
  }
}

Update Page

PUT /api/content/:id

Update an existing page.

Delete Page

DELETE /api/content/:id

Delete a page permanently.