Skip to content

/notion-api

Source: notion-api-docs Category: Development & API

Generate Notion API code and debug integrations.

What It Does

  • Generates working Notion API code from your description
  • References the actual endpoint docs, property types, block types from the site
  • Debugs your Notion API errors using the documented error codes
  • Creates database schemas with correct property configurations
  • Handles the weird stuff (rate limits, pagination, webhooks) using the SOPs

Example Usage

Input: "Create a database for tracking leads with status, company, and last contact date"

Skill Response:

  • Generates the exact API call
  • Uses correct property types
  • Handles all the Notion-specific quirks
  • Includes error handling

Capabilities

ActionDescription
Database CreationCreate databases with proper property types
Page OperationsCreate, read, update, delete pages
Block ManipulationWork with content blocks
Error DebuggingDiagnose and fix Notion API errors
PaginationHandle large result sets correctly

Property Types

The skill knows all Notion property types:

  • Title, Rich Text, Number, Select, Multi-select
  • Date, People, Files, Checkbox, URL, Email, Phone
  • Formula, Relation, Rollup, Created time, Last edited

Code Examples

Create Database

javascript
const response = await notion.databases.create({
  parent: { page_id: "..." },
  title: [{ text: { content: "Leads" } }],
  properties: {
    "Name": { title: {} },
    "Status": { select: { options: [...] } },
    "Company": { rich_text: {} },
    "Last Contact": { date: {} }
  }
});

Quick Start

/notion-api

Skill will ask what you want to do with Notion, then generate the code.

14 Skills | Built from SOP Documentation Sites