Skip to main content

Create Info Page

POST 

/api/admin/portal/pages

Create an info page at the end of the list. title is required; everything else is optional. A blank or omitted slug is made from the title (lowercase, hyphenated, never a reserved word, suffixed -2, -3… when taken). visibility defaults to public and is_published to false (a draft).

Required scope: customers:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Fields: title (string, max 120), slug (lowercase letters, numbers and single hyphens, max 80, unique; new and edit are reserved), body (Markdown, max 50,000 characters), visibility (public = anyone, signed in or not; buyers = signed-in buyers only), is_published (boolean; drafts are never served to the portal).

A portal holds at most 50 pages; a 51st answers 422.

Requires a staff bearer token with portal management permission.

Request​

Responses​

Created

Response Headers
    Content-Type