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"
}
Create a new document or blog page within a space.
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"
}
STANDARD) or the intranet blog feed (BLOG).
Authorization header.STANDARD (document tree) or BLOG (intranet blog post).STANDARD or BLOG.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"
}
Was this page helpful?