notion-apilisted
Install: claude install-skill aiskillstore/marketplace
# Notion API Integration
Access Notion pages, databases, and content through TypeScript scripts executed via Bun.
## Overview
This skill provides access to the Notion API for:
- **Search**: Find pages and databases across your workspace
- **Pages**: Get, create, and update pages
- **Databases**: Query database entries with filters and sorting
- **Blocks**: Read page content as blocks
All scripts return JSON and require a `NOTION_TOKEN` environment variable.
## Response Format
All scripts output JSON with a consistent structure:
### Success
```json
{"status": "success", "data": {...}}
```
### Authentication Required
```json
{
"status": "auth_required",
"message": "Set NOTION_TOKEN environment variable with your integration token...",
"setupUrl": "https://www.notion.so/my-integrations"
}
```
When you receive `auth_required`, display to the user:
```
To access Notion, you need to set up an integration:
1. Go to: https://www.notion.so/my-integrations
2. Create a new integration for your workspace
3. Copy the "Internal Integration Secret"
4. Set the NOTION_TOKEN environment variable with this token
5. Share your pages/databases with the integration (click "..." menu > "Add connections")
Let me know when you've completed setup.
```
### Error
```json
{"status": "error", "error": "Error description"}
```
## Search
Search for pages and databases across your Notion workspace.
All scripts are located at `${CLAUDE_PLUGIN_ROOT}/skills/notion/scripts/`.
```bash
# Searc