Explore all defined operations, data models and types for this version. For live editing and client SDK generators, inspect on TypeHub.
Creates and appends new children blocks to the parent block or page specified.
Moves a block (including a page) to the trash.
Retrieves a Block object using the ID specified.
Returns a paginated array of child block objects contained in the block (or page) using the ID specified.
Updates the content of a block based on its type, or moves it to/from the trash.
Creates an additional data source in an existing database.
Retrieves a data source object, including its property schema.
Creates a database and its initial data source as a child of a page or the workspace.
Retrieves a database object, a container for one or more data sources, for a provided database ID. Use Retrieve a data source to read its property schema.
Updates the attributes (title, description, icon, cover, parent, inline, trash and lock status) of a database.
Creates a new page as a child of an existing page or data source.
Retrieves a Page object using the ID specified. To read page content, use Retrieve block children.
Retrieves the content of a page rendered as enhanced markdown.
Retrieves a page property item. Paginated for title, rich_text, relation, people and rollup properties.
Moves an existing page to a new parent page or data source.
Updates page properties, icon, cover, lock state or trash status (in_trash).
Updates or replaces content in a page using enhanced markdown.
Retrieves a User using the ID specified.
Returns a paginated list of Users for the workspace. The response may contain fewer than page_size of results.
Retrieves the bot User associated with the API token provided in the authorization header.
Parent is an agent.
Request body to append child blocks.
Status and result of an asynchronous background task, e.g. a markdown page creation/update started with allow_async: true.
The operation an async task executes.
A block object represents a piece of content within Notion.
Audio block.
Bookmark block.
Breadcrumb block.
Bulleted list item block.
Callout block.
Child database block.
Child page block.
Code block.
Paginated list of blocks.
Column block.
Column list block.
Divider block.
Embed block.
Equation block.
File block.
Heading 4 block.
Heading 1 block.
Heading 3 block.
Heading 2 block.
Image block.
Link preview block (read-only).
Link to page block.
Meeting notes block (formerly transcription).
Numbered list item block.
PDF block.
Paragraph block.
Parent is a block.
Quote block.
Synced block.
Tab block.
Table block.
Table of contents block.
Table row block.
Template block.
To-do block.
Toggle block.
Block type not supported by the API.
Video block.
Content of a bookmark block.
Content of a bulleted list item block.
Content of a callout block.
Content of a child database block.
Content of a child page block.
Content of a code block.
Content of a column block.
Content of a column list block.
A comment on a Notion page or block.
A file attached to a comment.
A file upload to attach to a new comment.
Paginated list of comments.
The author name shown for a comment.
Custom display name for a comment.
Where to insert new content.
Cover image of a page, database or data source.
Request body to create a comment on a page, block or existing discussion. Provide either parent or discussion_id, and either rich_text or markdown.
Request body to create a data source in an existing database.
Request body to create a database and its initial data source.
Request body to start a file upload.
Request body to create a page.
Request body to execute a view's query.
Request body to create a view in a database or a widget in a dashboard.
A custom emoji in the workspace.
Paginated list of custom emojis in the workspace.
Icon using a workspace custom emoji.
A data source (table) inside a database. It holds the property schema and the pages.
Parent is a data source.
A property definition in a data source schema. type names the key that holds the type-specific configuration.
Reference to a data source inside a database.
A page template available in a data source.
Paginated list of data source templates.
A database: a container for one or more data sources.
Parent is a database.
A date or date range value.
Content of an embed block.
Emoji icon.
Empty object used by block types without configuration (divider, breadcrumb, tab).
A LaTeX equation expression.
Error response returned by the Notion API for any non-2xx status.
Icon hosted at an external URL.
An externally hosted file.
File object used by image, video, pdf, file and audio blocks, and by files property values.
Icon hosted by Notion.
Result of importing a file from an external URL.
A Notion-hosted file with a temporary URL.
Tracks the lifecycle of a file uploaded to Notion via the API.
Paginated list of file uploads.
Who created the file upload.
Icon using a file uploaded via the File Upload API (request only).
Part progress of a multi-part upload.
Content of a heading block.
Page, database or block icon.
Reference to a Notion object by its ID.
Configuration of the initial data source of a new database.
An inline link.
Content of a link preview.
Content of a link to page block.
A search-and-replace operation on page markdown.
Replace the entire page content with new markdown.
Search-and-replace updates to page markdown.
Content of a meeting notes block (formerly transcription).
Calendar event linked to a meeting notes block.
IDs of the child blocks of a meeting notes block.
Recording time range of a meeting notes block.
An inline mention of a user, date, page, database, link preview, template or custom emoji.
Request body to move a page to a new parent.
A native Notion icon, specified by name and color.
Icon using a native Notion icon.
Reference to a Notion object containing its object type and ID.
The Page object contains the page property values of a single Notion page.
Page content rendered as enhanced Markdown.
A page or data source object, as returned by search and data source queries.
Paginated list of pages and/or data sources.
Parent is a page.
Value of a page property. type names the key that holds the value.
Template to apply when creating or updating a page.
Content of a paragraph block.
Information about the parent of a page, block, database, data source or comment.
Details about a person user.
A single page property item, or a paginated list of property items for title, rich_text, relation, people and rollup properties.
Request body to query a data source.
Content of a quote block.
Indicates whether a paginated result set is complete.
Rich text object containing styled text, mentions or inline equations.
Styling annotations of rich text.
Rich text object of type equation.
Rich text object of type mention.
Rich text object of type text.
Filter for search results.
Request body to search pages and data sources by title.
Sort for search results.
A select, multi-select or status option.
A sort condition for data source queries and views.
Content of a synced block.
Reference to the original synced block.
Content of a table block.
Content of a table of contents block.
Content of a table row block.
Content of a template block (deprecated in the Notion UI).
Text content of a rich text object of type text.
Content of a to-do block.
Content of a toggle block.
Content of a block type not supported by the public API.
Request body to update a block. Send the key that matches the block's type, and/or in_trash.
Request body to update a comment. Provide either rich_text or markdown.
Request body to update a data source's title, icon, schema, trash status or parent.
Request body to update database attributes.
Request body to update a page's content with enhanced markdown.
Request body to update page properties, icon, cover or trash status.
Request body to update a view.
A user in a Notion workspace: a member, guest or bot (integration).
Details about a bot user.
Details about the owner of the bot.
Limits and restrictions that apply to the bot's workspace.
Paginated list of users.
A view of a database (table, board, list, calendar, timeline, gallery, form, chart, map or dashboard).
Paginated list of view references.
Where to place a new view in the database's view tab bar.
A cached execution of a view's query with its first page of results.
Result of deleting a cached view query.
Paginated cached results of a view query.
Where to place a new widget in a dashboard view.
Parent is the workspace.