notion
Installation
SKILL.md
Troubleshooting
If requests fail, run zero doctor check-connector --env-name NOTION_TOKEN or zero doctor check-connector --url https://api.notion.com/v1/pages --method GET
Core APIs
Read Page with Content
Replace <your-page-id> with your actual Notion page ID:
# Get page metadata
curl -s -X GET "https://api.notion.com/v1/pages/<your-page-id>" --header "Authorization: Bearer $NOTION_TOKEN" --header "Notion-Version: 2022-06-28" | jq '{title: .properties.title.title[0].plain_text, url, last_edited_time}'
# Get page content blocks
curl -s -X GET "https://api.notion.com/v1/blocks/<your-page-id>/children?page_size=100" --header "Authorization: Bearer $NOTION_TOKEN" --header "Notion-Version: 2022-06-28" | jq '.results[] | {type, text: (.[.type].rich_text // [] | map(.plain_text) | join("")), has_children}'