API-post-page
Create and customize pages in Notion with structured content, including titles, blocks, icons, and cover images, using natural language commands to streamline workspace organization.
Instructions
Notion | Create a page
Input Schema
Name | Required | Description | Default |
---|---|---|---|
children | No | The content to be rendered on the new page, represented as an array of [block objects](https://developers.notion.com/reference/block). | |
cover | No | The cover image of the new page, represented as a [file object](https://developers.notion.com/reference/file-object). | |
icon | No | The icon of the new page. Either an [emoji object](https://developers.notion.com/reference/emoji-object) or an [external file object](https://developers.notion.com/reference/file-object).. | |
parent | Yes | ||
properties | Yes |
Input Schema (JSON Schema)
{
"$defs": {},
"properties": {
"children": {
"description": "The content to be rendered on the new page, represented as an array of [block objects](https://developers.notion.com/reference/block).",
"items": {
"type": "string"
},
"type": "array"
},
"cover": {
"description": "The cover image of the new page, represented as a [file object](https://developers.notion.com/reference/file-object).",
"format": "json",
"type": "string"
},
"icon": {
"description": "The icon of the new page. Either an [emoji object](https://developers.notion.com/reference/emoji-object) or an [external file object](https://developers.notion.com/reference/file-object)..",
"format": "json",
"type": "string"
},
"parent": {
"additionalProperties": true,
"properties": {
"page_id": {
"format": "uuid",
"type": "string"
}
},
"required": [
"page_id"
],
"type": "object"
},
"properties": {
"additionalProperties": false,
"properties": {
"title": {
"items": {
"additionalProperties": true,
"properties": {
"text": {
"additionalProperties": true,
"properties": {
"content": {
"type": "string"
}
},
"required": [
"content"
],
"type": "object"
}
},
"required": [
"text"
],
"type": "object"
},
"type": "array"
},
"type": {
"enum": [
"title"
],
"type": "string"
}
},
"required": [
"title"
],
"type": "object"
}
},
"required": [
"parent",
"properties"
],
"type": "object"
}