Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Reads and writes Notion pages and databases through the Notion API using managed OAuth or an internal integration secret.
Use this skill ↓50% 77%+27 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 11 of 22 without it.
3 of 3 safety checks passed
19 agent runs
You have access to the Notion API via the managed OAuth connection or an internal integration secret stored in the credential vault. Both paths inject the Authorization header automatically. Never reveal credential values or echo token values into the shell.
Step 1 - Determine connection type:
assistant credentials list
Look at the results to decide which path to use:
service: "notion" entry is needed in the vault. The OAuth connection is managed by the platform. Use Path A below.service: "notion" and field: "internal_secret" is present. Use Path A below (recommended) or Path B if the credential has the required metadata (see Path B for details).Step 2 - Make authenticated API calls:
Choose the path that matches what you found in Step 1.
Use assistant oauth request --provider notion. The Authorization header is injected automatically; do not supply it manually.
assistant oauth request --provider notion \
-X POST \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json" \
-d '{}' \
https://api.notion.com/v1/search
General shape: assistant oauth request --provider notion -X <METHOD> -H "Notion-Version: 2022-06-28" [-H "Content-Type: application/json"] [-d '<json-body>'] <url>
https://api.notion.com/v1/pages/...) or relative (/v1/pages/...).-d accepts inline JSON, @filename, or @- for stdin.Next to this one in the catalogue, plus more from the same author.