Join us for our Developer Platform Hackathon, May 16-17. Apply now →
import { Client } from "@notionhq/client"
const notion = new Client({ auth: process.env.NOTION_API_KEY })
const response = await notion.pages.retrieve({
page_id: "b55c9c91-384d-452b-81db-d1ef79372b75"
}){
"object": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}import { Client } from "@notionhq/client"
const notion = new Client({ auth: process.env.NOTION_API_KEY })
const response = await notion.pages.retrieve({
page_id: "b55c9c91-384d-452b-81db-d1ef79372b75"
}){
"object": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Documentation Index
Fetch the complete documentation index at: https://developers.notion.com/llms.txt
Use this file to discover all available pages before exploring further.
title.
Untitled, Anonymous, or not be returned at all.
This limit affects the following properties:
people: response object can’t be guaranteed to return more than 25 people.relation: the has_more value of the relation in the response object is true if a relation contains more than 25 related pages. Otherwise, has_more is false.rich_text: response object includes a maximum of 25 populated inline page or person mentions.title: response object includes a maximum of 25 inline page or person mentions.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The API version to use for this request. The latest version is 2026-03-11.
2026-03-11 The ID of the page to retrieve.
Supply a list of property IDs to filter properties in the response. Note that if a page doesn't have a property, it won't be included in the filtered response.
100