Open Context Protocol is live! 🚀 Read the launch post

createPage

Create page

POST /pages HTTP/1.1

Parameters

{
  "embedded": {
    "description": "Tag the content as embedded and content will be created in NCS.",
    "required": false,
    "location": "query",
    "type": "boolean"
  },
  "private": {
    "description": "The page will be private. Only the user who creates this page will have permission to view and edit one.",
    "required": false,
    "location": "query",
    "type": "boolean"
  },
  "root-level": {
    "description": "The page will be created at the root level of the space (outside the space homepage tree). If true, then a \nvalue may not be supplied for the `parentId` body parameter.",
    "required": false,
    "location": "query",
    "type": "boolean"
  }
}

Response Schema

{
  "allOf": [
    {
      "$ref": "#/components/schemas/PageSingle"
    },
    {
      "type": "object",
      "properties": {
        "_links": {
          "type": "object",
          "properties": {
            "base": {
              "type": "string",
              "description": "Base url of the Confluence site."
            }
          }
        }
      }
    }
  ]
}