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.
ntn is the Notion CLI. Use it to authenticate with Notion, deploy and manage Notion Workers, and make API requests — all from your terminal.
Install
Authenticate
Log in to connect the CLI to your Notion workspace:What you can do
Workers
Deploy, manage, and debug Notion Workers.
API requests
Make Notion API requests directly from the terminal.
Data sources
Create, query, and manage data sources from the terminal.
File uploads
Upload static assets like images and PDFs to Notion.
Manage Notion Workers
Create, deploy, and operate Workers — small TypeScript programs that extend Notion with syncs, tools, and automations:Make API requests
Make authenticated requests to the Notion API with inline JSON construction and shell completion:Upload files
Upload static assets like images and PDFs to reference from Notion pages:Next steps
Installation
Alternative install methods and shell completions.
Authentication
Manage login sessions and credentials.
Command reference
Full reference for every ntn command.
Notion Workers quickstart
Create and deploy your first Notion Worker.