Skip to content

CMS Page — Detail

Single CMS page with the full htmlContent body, every locale's translations, and the assigned channels inlined.

TIP

For what CMS Pages are and how multi-locale / multi-channel works, see the CMS Pages overview.

Endpoint

EndpointMethod
/api/admin/cms/pages/{id}GET

Response

200 OK

FieldTypeNotes
idintegerPage ID.
urlKeystringURL slug for the active locale.
pageTitlestringTitle for the active locale.
htmlContentstringThe full page HTML body (the field that's null on the listing).
metaTitle / metaKeywords / metaDescriptionstring|nullSEO fields for the active locale.
layoutstring|nullPage layout identifier.
previewUrlstringLive storefront URL for the page (the "View" action).
localestringResolved locale code.
channelstringResolved channel code.
translationsarrayPer-locale rows — { locale, url_key, page_title, html_content, meta_title, meta_keywords, meta_description }.
channelsarray{ id, code, name } of every assigned channel.
createdAt, updatedAtstringISO 8601.

Errors

HTTPCause
404 Not FoundPage not found.

Released under the MIT License.