Skip to main content
POST
Add a page

Authorizations

Authorization
string
header
required

Organization-scoped bearer credential: a customer API key (1club_sk_live_...) or an MCP OAuth access token.

Query Parameters

siteId
integer

Body

application/json
slug
string
required

Lowercase letters, numbers and hyphens, e.g. "personal-training"

title
string
required
isHomepage
boolean

Makes this the homepage, clearing the flag on whichever page held it

sections
object[]

Initial sections. See GET /section-types for the types and their config.

metaTitle
string | null

SEO title. Falls back to the page title.

metaDescription
string | null

Falls back to seoSettings.siteDescription.

ogImage
string | null

Absolute URL. Get one from GET /media rather than composing it.

noindex
boolean | null

Ask search engines not to index this page, and leave it out of sitemap.xml. For thank-you pages and campaign landing variants. The page stays publicly reachable - this is not a privacy control.

translations
object | null

Per-locale metaTitle/metaDescription, keyed by locale: { "bg": { "metaTitle": "…" } }. Replaces the whole map. ogImage is not localizable - one social card serves every locale. An override only reaches a visitor for a locale the organization actually serves: check supportedLocales on GET /website and add the locale there first, or the translation has no URL to be served at.

Response

The created page

A page on the website draft.

slug
string

URL path segment. The homepage is served at "/" regardless of its slug.

title
string
isHomepage
boolean
sectionCount
integer
sectionTypes
string[]
sections
object[]

Present when fetching a single page; omitted from list responses.

metaTitle
string | null
metaDescription
string | null
ogImage
string | null
noindex
boolean

True when the page asks search engines not to index it and is left out of sitemap.xml.

translations
object | null

Per-locale metaTitle/metaDescription overrides, keyed by locale: { "bg": { "metaTitle": "…" } }. Present when fetching a single page.

seo
object

What the published page will actually put in its <head>, after every fallback has been applied - the authored fields alone do not answer "is my SEO right?". Present when fetching a single page. Read-only.

url
string

The page's public URL once published.