Content API

Pages

List published pages and fetch one with its HTML.

Pages are standalone content such as About or Pricing. They have no tags and don't appear in post lists.

List pages

GET/sites/{siteId}/pages

Returns every published page.

bash
curl https://api.quillhive.com/api/public/v1/sites/YOUR_SITE_ID/pages
Response
{
  "pages": [
    {
      "id": "clx123...",
      "title": "About",
      "slug": "about",
      "updatedAt": "2026-10-01T10:00:00.000Z"
    }
  ]
}

Get a page

GET/sites/{siteId}/pages/{idOrSlug}

Returns one published page with its full HTML, by id or slug.

bash
curl https://api.quillhive.com/api/public/v1/sites/YOUR_SITE_ID/pages/about
Response
{
  "page": {
    "id": "clx123...",
    "title": "About",
    "slug": "about",
    "html": "<p>We are a small team...</p>",
    "featureImage": "https://...",
    "updatedAt": "2026-10-01T10:00:00.000Z"
  }
}

A missing or unpublished page returns 404 with { "page": null }.

To preview a draft page, use the preview endpoint. It serves pages too.