Pinter
ENID
CMS
View as Markdown

Get Public CMS Page Content by Slug

GET/api/content/public/pages/{slug}

Overview

Retrieves rendered HTML or markdown content of a public CMS page.

Authentication & Headers

  • Auth: Public (No bearer token required)
  • Required Header: API-Version: 1

Parameters

  • slug (path, string, required): Page URL slug identifier.

Parameters

Path

slugstringrequired
URL-friendly slug identifier for the public CMS page.

Responses

200 Public page content

422 Validation Error

detailobject[]
detail[].locstring | integer[]required
detail[].msgstringrequired
detail[].typestringrequired
detail[].inputobject
detail[].ctxobject
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}

Example

curl -X GET "$PINTER_URL/api/content/public/pages/privacy-policy" \
  -H "Authorization: Bearer $ACCESS_TOKEN"