Method Signature
Parameters
object
required
The parent location where the page will be created. Can be a database, page, or workspace.
object
required
Property values for the new page. The required properties depend on the parent database schema.Each property value is keyed by the property name and includes a
type field.object
Page icon. Can be an emoji, external URL, file upload, or custom emoji.
object
Page cover image.
array
Array of block objects to add as the page’s initial content. Mutually exclusive with
content and markdown.array
Array of block objects to add as the page’s initial content. Mutually exclusive with
children and markdown.string
Page content as Notion-flavored Markdown. Mutually exclusive with
content and children.object
Template to apply to the page.
object
Position where the page should be inserted.
string
Bearer token for authentication. Overrides the client-level authentication.
Response
string
Always
"page"string
The ID of the newly created page
string
ISO 8601 timestamp when the page was created
string
ISO 8601 timestamp when the page was last edited
boolean
Whether the page is archived
boolean
Whether the page is in trash
boolean
Whether the page is locked from editing in the Notion app UI
string
The URL of the Notion page
string | null
The public URL if the page has been published to the web
object
Information about the page’s parent
object
Property values of the page
object | null
Page icon
object | null
Page cover image
object
User who created the page
object
User who last edited the page
Examples
Create a Page in a Database
Create a Page with Content
Create a Page with Markdown
Create a Child Page
Create a Page with Multiple Properties
Related Methods
- pages.retrieve - Retrieve an existing page
- pages.update - Update page properties
- pages.move - Move a page to a different location