Skip to navigation

Get Page Content (by Permalink)

Use this to fetch the rendered content of a page (a product page, a standalone page, or a page inside a collection). Given a permalink, it resolves the page and returns its fully compiled content — the same payload the experience app loads on every navigation.

Where do permalinks come from? From the other catalog endpoints: list products with GET /products (Products & Library), look up a page with GET /pages/:id or GET /page?permalink=... (Pages), or read the navigation/products in GET /app and GET /dashboard. Take the resulting permalink (e.g. /product-slug/page-slug) and pass it here.

Authentication: Public with visitor fallback.

Request body:

  • permalink (required) — The full page permalink (e.g. /product-slug/page-slug)
  • collection (optional) — Collection slug, when the page is being viewed within a collection context

Response:

  • item — Page metadata (id, title, slug, type, access status)
  • user_product — Product data when the page belongs to a product
  • collection — Collection data when accessed within a collection context
  • page_version — The page version being rendered
  • compiled_content — Fully rendered content (Liquid templates compiled with app, brand, user, theme, and product drops)

Access control:

  • If the page is locked (the user lacks access), only metadata is returned — compiled_content is omitted
  • For products within collections, access is checked against the collection’s product list

Errors:

  • 401 — Access denied (the page requires authentication or product access)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
collectionstringOptional

Response

OK