IntegrationsNotionActions
Create Notion page
Create a Notion page under a page or data source with strict rich text.
pages.create · Notion · v1
Details
Scopes
insert_content
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
parent | object | Yes | additionalProperties false; oneOf branch 1: required page_id / branch 2: required data_source_id |
parent.page_id | string | No | minLength 1; maxLength 64 |
parent.data_source_id | string | No | minLength 1; maxLength 64 |
properties | array<object> | No | maxItems 32 |
properties[] | object | Yes | additionalProperties false; oneOf branch 1: required name, type, title; type=title / branch 2: required name, type, rich_text; type=rich_text / branch 3: required name, type, number; type=number / branch 4: required name, type, select; type=select / branch 5: required name, type, multi_select; type=multi_select / branch 6: required name, type, status; type=status / branch 7: required name, type, date; type=date / branch 8: required name, type, checkbox; type=checkbox / branch 9: required name, type, url; type=url / branch 10: required name, type, email; type=email / branch 11: required name, type, phone_number; type=phone_number |
properties[].name | string | Yes | minLength 1; maxLength 200 |
properties[].type | string | Yes | enum title | rich_text | number | select | multi_select | status | date | checkbox | url | email | phone_number |
properties[].title | array<object> | No | maxItems 100 |
properties[].title[] | object | Yes | additionalProperties false |
properties[].title[].type | string | Yes | enum text |
properties[].title[].text | object | Yes | additionalProperties false |
properties[].title[].text.content | string | Yes | minLength 1; maxLength 2000 |
properties[].title[].text.link | object | No | additionalProperties false |
properties[].title[].text.link.url | string | Yes | minLength 8; maxLength 2048; pattern ^https://; format uri |
properties[].title[].annotations | object | No | additionalProperties false |
properties[].title[].annotations.bold | boolean | No | — |
properties[].title[].annotations.italic | boolean | No | — |
properties[].title[].annotations.strikethrough | boolean | No | — |
properties[].title[].annotations.underline | boolean | No | — |
properties[].title[].annotations.code | boolean | No | — |
properties[].rich_text | array<object> | No | maxItems 100 |
properties[].rich_text[] | object | Yes | additionalProperties false |
properties[].rich_text[].type | string | Yes | enum text |
properties[].rich_text[].text | object | Yes | additionalProperties false |
properties[].rich_text[].text.content | string | Yes | minLength 1; maxLength 2000 |
properties[].rich_text[].text.link | object | No | additionalProperties false |
properties[].rich_text[].text.link.url | string | Yes | minLength 8; maxLength 2048; pattern ^https://; format uri |
properties[].rich_text[].annotations | object | No | additionalProperties false |
properties[].rich_text[].annotations.bold | boolean | No | — |
properties[].rich_text[].annotations.italic | boolean | No | — |
properties[].rich_text[].annotations.strikethrough | boolean | No | — |
properties[].rich_text[].annotations.underline | boolean | No | — |
properties[].rich_text[].annotations.code | boolean | No | — |
properties[].number | number | No | — |
properties[].select | object | No | additionalProperties false |
properties[].select.name | string | Yes | minLength 1; maxLength 200 |
properties[].multi_select | array<object> | No | maxItems 32 |
properties[].multi_select[] | object | Yes | additionalProperties false |
properties[].multi_select[].name | string | Yes | minLength 1; maxLength 200 |
properties[].status | object | No | additionalProperties false |
properties[].status.name | string | Yes | minLength 1; maxLength 200 |
properties[].date | object | No | additionalProperties false |
properties[].date.start | string | Yes | minLength 1; maxLength 64 |
properties[].date.end | string | No | minLength 1; maxLength 64 |
properties[].checkbox | boolean | No | — |
properties[].url | string | No | minLength 8; maxLength 2048; pattern ^https://; format uri |
properties[].email | string | No | minLength 3; maxLength 320 |
properties[].phone_number | string | No | minLength 1; maxLength 64 |
children | array<object> | No | maxItems 100 |
children[] | object | Yes | additionalProperties false |
children[].type | string | Yes | enum paragraph | heading_1 | heading_2 | heading_3 | bulleted_list_item | numbered_list_item | to_do | quote | toggle |
children[].rich_text | array<object> | Yes | maxItems 100 |
children[].rich_text[] | object | Yes | additionalProperties false |
children[].rich_text[].type | string | Yes | enum text |
children[].rich_text[].text | object | Yes | additionalProperties false |
children[].rich_text[].text.content | string | Yes | minLength 1; maxLength 2000 |
children[].rich_text[].text.link | object | No | additionalProperties false |
children[].rich_text[].text.link.url | string | Yes | minLength 8; maxLength 2048; pattern ^https://; format uri |
children[].rich_text[].annotations | object | No | additionalProperties false |
children[].rich_text[].annotations.bold | boolean | No | — |
children[].rich_text[].annotations.italic | boolean | No | — |
children[].rich_text[].annotations.strikethrough | boolean | No | — |
children[].rich_text[].annotations.underline | boolean | No | — |
children[].rich_text[].annotations.code | boolean | No | — |
children[].checked | boolean | No | — |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
id | string | Yes | minLength 1; maxLength 64 |
object | string | Yes | minLength 1; maxLength 64 |
url | string | No | maxLength 2048 |
in_trash | boolean | No | — |
created_at | string | No | minLength 1; maxLength 64 |
updated_at | string | No | minLength 1; maxLength 64 |
title | string | No | maxLength 2000 |
parent | object | No | additionalProperties false |
parent.type | string | No | minLength 1; maxLength 64 |
parent.page_id | string | No | minLength 1; maxLength 64 |
parent.database_id | string | No | minLength 1; maxLength 64 |
parent.data_source_id | string | No | minLength 1; maxLength 64 |
parent.workspace | boolean | No | — |
properties | array<object> | No | maxItems 64 |
properties[] | object | Yes | additionalProperties false |
properties[].name | string | Yes | minLength 1; maxLength 200 |
properties[].type | string | Yes | minLength 1; maxLength 64 |
properties[].id | string | No | minLength 1; maxLength 64 |
properties[].has_more | boolean | No | — |
properties[].value | string | No | maxLength 4096 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"parent": {
"type": "object",
"additionalProperties": false,
"properties": {
"page_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"data_source_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"oneOf": [
{
"required": [
"page_id"
]
},
{
"required": [
"data_source_id"
]
}
]
},
"properties": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"enum": [
"title",
"rich_text",
"number",
"select",
"multi_select",
"status",
"date",
"checkbox",
"url",
"email",
"phone_number"
]
},
"title": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"text"
]
},
"text": {
"type": "object",
"additionalProperties": false,
"properties": {
"content": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"link": {
"type": "object",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"minLength": 8,
"maxLength": 2048,
"pattern": "^https://",
"format": "uri"
}
},
"required": [
"url"
]
}
},
"required": [
"content"
]
},
"annotations": {
"type": "object",
"additionalProperties": false,
"properties": {
"bold": {
"type": "boolean"
},
"italic": {
"type": "boolean"
},
"strikethrough": {
"type": "boolean"
},
"underline": {
"type": "boolean"
},
"code": {
"type": "boolean"
}
}
}
},
"required": [
"type",
"text"
]
},
"maxItems": 100
},
"rich_text": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"text"
]
},
"text": {
"type": "object",
"additionalProperties": false,
"properties": {
"content": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"link": {
"type": "object",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"minLength": 8,
"maxLength": 2048,
"pattern": "^https://",
"format": "uri"
}
},
"required": [
"url"
]
}
},
"required": [
"content"
]
},
"annotations": {
"type": "object",
"additionalProperties": false,
"properties": {
"bold": {
"type": "boolean"
},
"italic": {
"type": "boolean"
},
"strikethrough": {
"type": "boolean"
},
"underline": {
"type": "boolean"
},
"code": {
"type": "boolean"
}
}
}
},
"required": [
"type",
"text"
]
},
"maxItems": 100
},
"number": {
"type": "number"
},
"select": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"name"
]
},
"multi_select": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"name"
]
},
"maxItems": 32
},
"status": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"name"
]
},
"date": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"end": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"start"
]
},
"checkbox": {
"type": "boolean"
},
"url": {
"type": "string",
"minLength": 8,
"maxLength": 2048,
"pattern": "^https://",
"format": "uri"
},
"email": {
"type": "string",
"minLength": 3,
"maxLength": 320
},
"phone_number": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"name",
"type"
],
"oneOf": [
{
"required": [
"name",
"type",
"title"
],
"properties": {
"type": {
"enum": [
"title"
]
}
}
},
{
"required": [
"name",
"type",
"rich_text"
],
"properties": {
"type": {
"enum": [
"rich_text"
]
}
}
},
{
"required": [
"name",
"type",
"number"
],
"properties": {
"type": {
"enum": [
"number"
]
}
}
},
{
"required": [
"name",
"type",
"select"
],
"properties": {
"type": {
"enum": [
"select"
]
}
}
},
{
"required": [
"name",
"type",
"multi_select"
],
"properties": {
"type": {
"enum": [
"multi_select"
]
}
}
},
{
"required": [
"name",
"type",
"status"
],
"properties": {
"type": {
"enum": [
"status"
]
}
}
},
{
"required": [
"name",
"type",
"date"
],
"properties": {
"type": {
"enum": [
"date"
]
}
}
},
{
"required": [
"name",
"type",
"checkbox"
],
"properties": {
"type": {
"enum": [
"checkbox"
]
}
}
},
{
"required": [
"name",
"type",
"url"
],
"properties": {
"type": {
"enum": [
"url"
]
}
}
},
{
"required": [
"name",
"type",
"email"
],
"properties": {
"type": {
"enum": [
"email"
]
}
}
},
{
"required": [
"name",
"type",
"phone_number"
],
"properties": {
"type": {
"enum": [
"phone_number"
]
}
}
}
]
},
"maxItems": 32
},
"children": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"paragraph",
"heading_1",
"heading_2",
"heading_3",
"bulleted_list_item",
"numbered_list_item",
"to_do",
"quote",
"toggle"
]
},
"rich_text": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"text"
]
},
"text": {
"type": "object",
"additionalProperties": false,
"properties": {
"content": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"link": {
"type": "object",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"minLength": 8,
"maxLength": 2048,
"pattern": "^https://",
"format": "uri"
}
},
"required": [
"url"
]
}
},
"required": [
"content"
]
},
"annotations": {
"type": "object",
"additionalProperties": false,
"properties": {
"bold": {
"type": "boolean"
},
"italic": {
"type": "boolean"
},
"strikethrough": {
"type": "boolean"
},
"underline": {
"type": "boolean"
},
"code": {
"type": "boolean"
}
}
}
},
"required": [
"type",
"text"
]
},
"maxItems": 100
},
"checked": {
"type": "boolean"
}
},
"required": [
"type",
"rich_text"
]
},
"maxItems": 100
}
},
"required": [
"parent"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"object": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"url": {
"type": "string",
"maxLength": 2048
},
"in_trash": {
"type": "boolean"
},
"created_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"updated_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"title": {
"type": "string",
"maxLength": 2000
},
"parent": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"page_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"database_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"data_source_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"workspace": {
"type": "boolean"
}
}
},
"properties": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"has_more": {
"type": "boolean"
},
"value": {
"type": "string",
"maxLength": 4096
}
},
"required": [
"name",
"type"
]
},
"maxItems": 64
}
},
"required": [
"id",
"object"
]
}