Creates a new draft page in a project space. Publish it separately with Publish a page.
Creates a draft page and returns it.
POST
/projects/{projectId}/pagesBearer token — `Bearer dxb_live_…`.
The project ID or slug.
The page title; becomes the H1 and slug.
The space to create the page in.
The navigation group; omit for the space root.
Initial MDX content; omit for a blank page.
Response
201Page created
400Validation error
cURL
curl --request POST \
--url https://api.doxbrix.io/v1/projects//pages \
--header 'Content-Type: application/json' \
--data '{
"title": "<string>",
"spaceId": "<string>",
"groupId": "<string>",
"content": "<string>"
}'{ "id": "pg_01J8", "title": "Webhooks", "status": "draft" }