Skip to main content

Documentation Index

Fetch the complete documentation index at: https://nango.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

πŸš€ Quickstart

Connect to Notion with Nango and see data flow in 2 minutes.
1

Create the integration

In Nango (free signup), go to Integrations -> Configure New Integration -> Notion.
2

Authorize Notion

Go to Connections -> Add Test Connection -> Authorize, then log in to Notion. Later, you’ll let your users do the same directly from your app.
3

Call the Notion API

Let’s make your first request to the Notion API (fetch a list of users). Replace the placeholders below with your secret key, integration ID, and connection ID:
curl "https://api.nango.dev/proxy/v1/users" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials with the Node SDK or API.βœ… You’re connected! Check the Logs tab in Nango to inspect requests.
4

Implement Nango in your app

Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.

πŸ“š Notion Integration Guides

Nango maintained guides for common use cases. Official docs: Notion API documentation

🧩 Pre-built syncs & actions for Notion

Enable them in your dashboard. Extend and customize to fit your needs.

Blocks

Function nameDescriptionTypeSource code
append-block-childrenAppend new child blocks to an existing block or page.ActionπŸ”— Github
append-bulleted-listAdds bulleted list items to a page.ActionπŸ”— Github
append-callout-blockAdds a callout block with icon to a page.ActionπŸ”— Github
append-code-blockAdds a code block with syntax highlighting to a page.ActionπŸ”— Github
append-dividerAdds a horizontal divider to a page.ActionπŸ”— Github
append-heading-blockAdds a heading block to a page.ActionπŸ”— Github
append-todo-blockAdds a to-do/checkbox item to a page.ActionπŸ”— Github
delete-blockDelete or archive a block by ID.ActionπŸ”— Github
list-block-childrenList child blocks for a page or block with pagination.ActionπŸ”— Github
retrieve-blockRetrieve a single block by block ID.ActionπŸ”— Github
retrieve-block-childrenGets paginated list of child blocks within a block or page.ActionπŸ”— Github
update-blockUpdate a block’s supported fields or rich text content.ActionπŸ”— Github

Comments

Function nameDescriptionTypeSource code
create-commentCreate a comment on a page, block, or discussion threadActionπŸ”— Github
list-commentsList comments for a page or discussion thread.ActionπŸ”— Github
retrieve-commentRetrieve a Notion comment by comment IDActionπŸ”— Github

Data Sources

Function nameDescriptionTypeSource code
create-data-sourceCreate a Notion data source in its supported parent container.ActionπŸ”— Github
list-data-source-templatesList templates available for a data source.ActionπŸ”— Github
query-data-sourceQuery entries in a Notion data source using filters and sorts.ActionπŸ”— Github
retrieve-data-sourceRetrieve a Notion data source definition and schema.ActionπŸ”— Github
update-data-sourceUpdate a Notion data source’s title, description, or schema properties.ActionπŸ”— Github

Databases

Function nameDescriptionTypeSource code
query-database-filteredRetrieves pages from database matching filter conditions.ActionπŸ”— Github
query-database-sortedRetrieves pages from database in sorted order.ActionπŸ”— Github
query-databaseRetrieves filtered and sorted pages from a database with pagination.ActionπŸ”— Github
retrieve-databaseGets database schema and column structure.ActionπŸ”— Github
update-databaseModifies database title, description, or properties schema.ActionπŸ”— Github

Pages

Function nameDescriptionTypeSource code
archive-pageArchive a page so it is removed from active workspace views.ActionπŸ”— Github
create-pageCreate a new Notion page with properties and optional children.ActionπŸ”— Github
duplicate-pageDuplicate a Notion page and its contentActionπŸ”— Github
get-page-as-markdownRetrieve a page in the current markdown export format if available.ActionπŸ”— Github
get-page-property-itemRetrieve a single property item value from a page.ActionπŸ”— Github
move-pageMove a Notion page to a new parent location (under another page or into a database).ActionπŸ”— Github
restore-pageRestore a page from trash so it returns to active workspace views.ActionπŸ”— Github
retrieve-page-propertyGets a specific property value from a page with pagination support.ActionπŸ”— Github
retrieve-pageRetrieve a Notion page and its property values.ActionπŸ”— Github
update-page-markdownUpdate page content using markdown commands. Supports targeted edits, full replacement, insertion, and range replacement.ActionπŸ”— Github
update-pageUpdate page properties and other mutable page fields.ActionπŸ”— Github
Function nameDescriptionTypeSource code
search-databasesSearches only databases shared with the integration.ActionπŸ”— Github
search-pagesSearches only pages shared with the integration.ActionπŸ”— Github
searchSearch pages, data sources, and other searchable Notion objects.ActionπŸ”— Github

Users

Function nameDescriptionTypeSource code
get-bot-userRetrieve the bot user associated with the current integration token.ActionπŸ”— Github
get-userRetrieve a Notion user or bot by user IDActionπŸ”— Github
list-usersList Notion users and bots available to the integration.ActionπŸ”— Github
retrieve-userGets a single user by their ID.ActionπŸ”— Github

Others

Function nameDescriptionTypeSource code
content-metadataSync page and data source metadata for broad Notion content discovery.SyncπŸ”— Github
data-source-entriesSync page entries from a Notion data source with properties and timestampsSyncπŸ”— Github
data-source-templatesSync templates available for a Notion data sourceSyncπŸ”— Github
data-sourcesSync Notion data source definitions and schema metadata.SyncπŸ”— Github
usersSync Notion users and bots visible to the integration.SyncπŸ”— Github