Skip to main content
POST
/
api
/
v1
/
pages
curl -X POST "https://your-collabase.ch/api/v1/pages" \
  -H "Authorization: Bearer cba_live_xYz123ABCD..." \
  -H "Content-Type: application/json" \
  -d '{
    "spaceSlug": "my-space",
    "title": "My Page",
    "type": "STANDARD"
  }'
{
  "id": "e45b4129-650a-4a6c-9226-9d33261ea2a0",
  "title": "My Page",
  "type": "STANDARD",
  "url": "https://collabase.ch/my-space/e45b4129-650a-4a6c-9226-9d33261ea2a0"
}
Creates a new page inside a space. The page type determines whether it appears in the space’s document tree (STANDARD) or the intranet blog feed (BLOG).
You must hold write access to the target space. Pass your API key as a Bearer token in the Authorization header.

Request body

spaceSlug
string
required
The unique slug identifier of the target space. Visible in the space URL.
title
string
required
The title of the page. Must be between 1 and 500 characters.
type
string
required
The type of page. Must be STANDARD (document tree) or BLOG (intranet blog post).
parentId
string
UUID of the parent page to nest this page under. Omit to create a top-level page.

Response

id
string
required
Unique identifier (UUID) of the newly created page.
title
string
required
The title of the page as stored.
type
string
required
The page type: STANDARD or BLOG.
url
string
required
The full URL to view the page in Collabase.
curl -X POST "https://your-collabase.ch/api/v1/pages" \
  -H "Authorization: Bearer cba_live_xYz123ABCD..." \
  -H "Content-Type: application/json" \
  -d '{
    "spaceSlug": "my-space",
    "title": "My Page",
    "type": "STANDARD"
  }'
{
  "id": "e45b4129-650a-4a6c-9226-9d33261ea2a0",
  "title": "My Page",
  "type": "STANDARD",
  "url": "https://collabase.ch/my-space/e45b4129-650a-4a6c-9226-9d33261ea2a0"
}