Install
openclaw skills install notion-api-integrationComplete Notion API for databases, pages, blocks, users, search, comments, and property types with pagination and error handling.
openclaw skills install notion-api-integrationComplete Notion API reference. See auxiliary files for detailed operations.
curl 'https://api.notion.com/v1/users/me' \
-H "Authorization: Bearer $NOTION_API_KEY" \
-H "Notion-Version: 2022-06-28"
On first use, read setup.md. Preferences stored in ~/notion-api-integration/memory.md.
Any Notion operation: databases, pages, blocks, users, search, comments, properties.
~/notion-api-integration/
├── memory.md # Workspace context
└── databases.md # Tracked database IDs
| Topic | File |
|---|---|
| Setup and memory | setup.md, memory-template.md |
| Databases: query, create, update | databases.md |
| Pages: CRUD, properties | pages.md |
| Blocks: content, children | blocks.md |
| Property types reference | properties.md |
| Filters and sorts | filters.md |
| Search and users | search.md |
| Pagination patterns | pagination.md |
| Error handling | errors.md |
Notion-Version: 2022-06-28 (or newer)Authorization: Bearer $NOTION_API_KEYabc123def456 not abc-123-def-456start_cursor for results over 100 itemsRequired environment variable:
NOTION_API_KEY - Internal integration token (starts with ntn_ or secret_)# All requests require these headers
curl 'https://api.notion.com/v1/...' \
-H "Authorization: Bearer $NOTION_API_KEY" \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json"
Notion-Version header - 400 error| Endpoint | Purpose |
|---|---|
https://api.notion.com/v1/* | All Notion API operations |
No other endpoints are accessed.
Environment variable used:
NOTION_API_KEY - for API authenticationSent to Notion: Database queries, page content, block updates via api.notion.com Stays local: API key (in environment variable only), ~/notion-api-integration/ preferences Never: Store API keys in files, access pages not shared with integration
This skill ONLY:
~/notion-api-integration/This skill NEVER:
~/notion-api-integration/By using this skill, data is sent to Notion (notion.com). Only install if you trust Notion with your workspace data.
Install with clawhub install <slug> if user confirms:
api — REST API patternspkm — Personal knowledge managementproductivity — Task and productivity workflowsclawhub star notion-api-integrationclawhub sync