Use the Notion API (2026-01-15) to create, move, update, and manage pages, databases, blocks, and apply templates with support for locking and data source qu...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install notion-2026-01-15或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install notion-2026-01-15⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/notion-2026-01-15/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
Here is the complete SKILL.md file updated for the January 15, 2026 API state.
---
name: notion api 202601 15
description: Notion API updated to 2026 01 15 changes for creating, moving, and managing pages, data sources, and blocks.
homepage: https://developers.notion.com
metadata: {"clawdbot":{"emoji":"📝"}}
---
# notion
Use the Notion API to create/read/update/move pages, data sources (databases), and blocks.
## Setup
1. Create an integration at https://notion.so/my-integrations
2. Copy the API key (starts with `ntn_` or `secret_`)
3. Store it:
mkdir -p ~/.config/notion echo "ntn_your_key_here" > ~/.config/notion/api_key
4. Share target pages/databases with your integration (click "..." → "Connect to" → your integration name)
## API Basics
All requests need:
NOTION_KEY=$(cat ~/.config/notion/api_key) curl -X GET "https://api.notion.com/v1/..." \ -H "Authorization: Bearer $NOTION_KEY" \ -H "Notion-Version: 2025-09-03" \ -H "Content-Type: application/json"
> **Note:** The `Notion-Version` header is required. Use `2025-09-03`. The features released in Jan 2026 (Move Page, Templates) are additive and use this version header.
## Common Operations
**Search for pages and data sources:**
curl -X POST "https://api.notion.com/v1/search" \ -H "Authorization: Bearer $NOTION_KEY" \ -H "Notion-Version: 2025-09-03" \ -H "Content-Type: application/json" \ -d '{"query": "page title"}'
**Get page:**
curl "https://api.notion.com/v1/pages/{page_id}" \ -H "Authorization: Bearer $NOTION_KEY" \ -H "Notion-Version: 2025-09-03"
**Move a page (Change Parent):**
curl -X POST "https://api.notion.com/v1/pages/{page_id}/move" \ -H "Authorization: Bearer $NOTION_KEY" \ -H "Notion-Version: 2025-09-03" \ -H "Content-Type: application/json" \ -d '{ "parent": {"type": "page_id", "page_id": "new_parent_page_id"} }'
> *Note: To move to a database, use `{"type": "data_source_id", "data_source_id": "..."}`.*
**Create page (Standard):**
curl -X POST "https://api.notion.com/v1/pages" \ -H "Authorization: Bearer $NOTION_KEY" \ -H "Notion-Version: 2025-09-03" \ -H "Content-Type: application/json" \ -d '{ "parent": {"database_id": "xxx"}, "properties": { "Name": {"title": [{"text": {"content": "New Item"}}]}, "Status": {"select": {"name": "Todo"}} } }'
**Create page from Template:**
curl -X POST "https://api.notion.com/v1/pages" \ -H "Authorization: Bearer $NOTION_KEY" \ -H "Notion-Version: 2025-09-03" \ -H "Content-Type: application/json" \ -d '{ "parent": {"database_id": "xxx"}, "template": {"type": "template_id", "template_id": "yyy"} }'
**List Data Source Templates:**
curl -X GET "https://api.notion.com/v1/data_sources/{data_source_id}/templates" \ -H "Authorization: Bearer $NOTION_KEY" \ -H "Notion-Version: 2025-09-03"
**Update page properties:**
curl -X PATCH "https://api.notion.com/v1/pages/{page_id}" \ -H "Authorization: Bearer $NOTION_KEY" \ -H "Notion-Version: 2025-09-03" \ -H "Content-Type: application/json" \ -d '{ "properties": {"Status": {"select": {"name": "Done"}}}, "is_locked": true }'
**Apply Template to existing page (erasing content):**
curl -X PATCH "https://api.notion.com/v1/pages/{page_id}" \ -H "Authorization: Bearer $NOTION_KEY" \ -H "Notion-Version: 2025-09-03" \ -H "Content-Type: application/json" \ -d '{ "template": {"type": "template_id", "template_id": "yyy"}, "erase_content": true }'
**Query a data source (database):**
curl -X POST "https://api.notion.com/v1/data_sources/{data_source_id}/query" \ -H "Authorization: Bearer $NOTION_KEY" \ -H "Notion-Version: 2025-09-03" \ -H "Content-Type: application/json" \ -d '{ "filter": {"property": "Status", "select": {"equals": "Active"}}, "sorts": [{"property": "Date", "direction": "descending"}] }'
**Add blocks to page:**
curl -X PATCH "https://api.notion.com/v1/blocks/{page_id}/children" \ -H "Authorization: Bearer $NOTION_KEY" \ -H "Notion-Version: 2025-09-03" \ -H "Content-Type: application/json" \ -d '{ "children": [ {"object": "block", "type": "paragraph", "paragraph": {"rich_text": [{"text": {"content": "Hello"}}]}} ] }'
## Property Types
Common property formats for database items:
* **Title:** `{"title": [{"text": {"content": "..."}}]}`
* **Rich text:** `{"rich_text": [{"text": {"content": "..."}}]}`
* **Select:** `{"select": {"name": "Option"}}`
* **Multi-select:** `{"multi_select": [{"name": "A"}, {"name": "B"}]}`
* **Date:** `{"date": {"start": "2024-01-15", "end": "2024-01-16"}}`
* **Checkbox:** `{"checkbox": true}`
* **Number:** `{"number": 42}`
* **URL:** `{"url": "https://..."}`
* **Email:** `{"email": "[email protected]"}`
* **Relation:** `{"relation": [{"id": "page_id"}]}`
## Recent Changes (Jan 2026)
* **Move Page API:** Use `/v1/pages/{id}/move` to reparent pages.
* **Templates:** New endpoints to list templates and parameters to apply them during page creation/update.
* **Locking:** `is_locked` boolean now supported in Update Page.
* **Tokens:** New tokens use `ntn_` prefix (formerly `secret_`).
* **Data Sources:** Continue using `data_source_id` for queries (introduced in 2025-09-03).
## Notes
* Page/database IDs are UUIDs (with or without dashes)
* The API cannot set database view filters — that's UI-only
* Rate limit: ~3 requests/second average
* Use `is_inline: true` when creating data sources to embed them in pages
安装 Notion API 2026 01 15 后,可以对 AI 说这些话来触发它
Help me get started with Notion API 2026 01 15
Explains what Notion API 2026 01 15 does, walks through the setup, and runs a quick demo based on your current project
Use Notion API 2026 01 15 to use the Notion API (2026-01-15) to create, move, update, and manage...
Invokes Notion API 2026 01 15 with the right parameters and returns the result directly in the conversation
What can I do with Notion API 2026 01 15 in my documents & notes workflow?
Lists the top use cases for Notion API 2026 01 15, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/notion-2026-01-15/ 目录(个人级,所有项目可用),或 .claude/skills/notion-2026-01-15/(项目级)。重启 AI 客户端后,用 /notion-2026-01-15 主动调用,或让 AI 根据上下文自动发现并使用。
Notion API 2026 01 15 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Notion API 2026 01 15 可免费安装使用。请查阅仓库了解许可证信息。
Use the Notion API (2026-01-15) to create, move, update, and manage pages, databases, blocks, and apply templates with support for locking and data source qu...
Notion API 2026 01 15 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Notion API 2026 01 15
Identifies repetitive steps in your workflow and sets up Notion API 2026 01 15 to handle them automatically