Notion
Search, update, and power workflows across your Notion workspace.
| Family | Category | Sub-type | Auth type |
|---|---|---|---|
| Productivity | productivity | knowledge-management | oauth2 |
Overview
| Product URL | API docs | Supported features |
|---|---|---|
| https://www.notion.com/ | https://developers.notion.com/ | tool_discovery, health_check, approval_gated_writes |
Setup
- Install the connector instance.
- Complete the OAuth authorization flow.
- Sync the tools and test the connection.
- Review approval-gated write tools before running them.
Auth & Configuration
This connector does not require additional instance config.
Available Tools
| Tool | Requires approval | Description |
|---|---|---|
search_pages | No | Search across all pages and databases in the workspace. |
get_page | No | Retrieve a page by its ID. |
create_page | Yes | Create a new page in the workspace. |
update_page | Yes | Update properties of an existing page. |
query_database | No | Query a Notion database with optional filters and sorts. |
Use search_pages for the main execution example below because it is safe to run without approval.
Tools that require approval cannot be run with direct execution (API or CLI); they return 403. Run them through Chao instead, which applies its approval rules before acting.
Examples
Install
curl -X POST "https://api.chainabit.com/api/v1/connectors/instances" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"connectorKey": "notion",
"displayName": "Notion"
}'Credentials
curl -X POST "https://api.chainabit.com/api/v1/connectors/instances/$INSTANCE_ID/oauth/initiate" \
-H "Authorization: Bearer $TOKEN"Execute
curl -X POST "https://api.chainabit.com/api/v1/connectors/instances/$INSTANCE_ID/tools/tool_search_pages/execute" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"input": {}
}'Security Notes
- Keep tokens, API keys, and connection strings in the encrypted credentials vault.
- Do not allow arbitrary server URLs for remote MCP connectors.
Troubleshooting
- If the health check fails, verify the token scope or credential payload and try again.
- If the tool list is empty, re-run sync-tools after storing the latest credentials.