Skip to main content

Create Page

API operation: Open the endpoint in Scalar

Use POST /pages to create a CMS-style page. The operation documented here is Page.register.

The documented schema requires administrator authentication. name, slug, and body are required; visibility, page type, and SEO fields are operation-specific. The authenticated user is recorded as the page author.

See Pages model.

OpenAPI reference​

Operation: POST /pages

Request body fields

NameTypeRequired
bodyanyYes
enabledbooleanNo
nameanyYes
publicbooleanNo
seo_descriptionanyNo
seo_image_fileanyNo
seo_titleanyNo
sluganyYes
typeanyNo

Responses

CodeDescription
200OK (Envelope)
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference