N

Notion CLI

CLI discovered

Details
Command
ntn
Docs
https://developers.notion.com/cli/get-started/overview
Authentication
Notion CLI login session oauth2 discovered $ ntn login

Acquired by the CLI — running ntn login opens the auth flow and stores the credential.

Personal access token bearer discovered Get token ↗
env NOTION_API_TOKEN

Create a token in the Developer portal. Choose a token name, workspace, and capability bundle, then copy the personal access token from the token details. PATs are user-scoped and can be used for the Notion API, Workers, and the CLI via NOTION_API_TOKEN.