N

Notion CLI

CLI discovered

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

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

Notion personal access token (PAT) bearer discovered Get token ↗
env NOTION_API_TOKEN

Open the Developer portal, create a personal access token, choose the workspace and capability bundles, then copy the token. PATs act as the user who created them and are intended for personal/developer-owned workflows. See Personal access tokens.