Skip to main content

notion.createpageprops

Home > @runlightyear/notion > CreatePageProps

CreatePageProps interface

Signature:
interface CreatePageProps 

Required Properties

PropertyModifiersTypeDescription
parentPageParentInput | DatabaseParentInputThe parent page or database where the new page is inserted, represented as a JSON object with a page_id or database_id key, and the corresponding ID.
propertiesPagePropertiesInputThe values of the page’s properties. If the parent is a database, then the schema must match the parent database’s properties. If the parent is a page, then the only valid object key is title.

Optional Properties

PropertyModifiersTypeDescription
children?Array<BlockInput>The content to be rendered on the new page, represented as an array of block objects.