Page

The Page object contains the page states of a single Notion page.

Properties

PropTypeDescription
id*stringUnique identifier of the page.
title*stringTitle of the page.
parentId*string | nullInformation about the page's parent.
type*stringType of the page. Could be useful for grouping.
isArchived*booleanWhether the page is in Trash.
isPublished*booleanWhether the page is publised to Web.
isFavorite*booleanWhether the page is in your favorite list.
iconIconDataPage icon.
coverImageCoverImagePage icon.
urlstringThe URL of the Notion page.
publicUrlstringThe public page URL if the page has been published to the web.
createdBy*stringUser who created the page. The value is the user's ID.
lastEditedBy*stringUser who last edited the page. The value is the user's ID.
createdAt*numberDate and time when this page was created. Formatted as timestamp (ms).
lastEditedAt*numberDate and time when this page was updated. Formatted as timestamp (ms).

Example

{
  id: "be633bf1-dfa0-436d-b259-571129a590e5",
  title: "New Page",
  parentId: "a1d8501e-1ac1-43e9-a6bd-ea9fe6c8822b",
  type: "page",
  isArchived: false,
  isPublished: false,
  isFavorite: false,
  icon: { type: "emoji", src: "🚀" },
  coverImage: {
    type: "url",
    url: "https://www.notion.so/images/page-cover/met_gerome_1890.jpg"
  },
  createdBy: "c2f20311-9e54-4d11-8c79-7398424ae41e",
  lastEditedBy: "9188c6a5-7381-452f-b3dc-d4865aa89bdf",
  createdAt: 1738368000000,
  lastEditedAt: 1738369000000,
}

On this page