Overview
The append endpoint converts Markdown text to Notion blocks and appends them directly to an existing Notion page. This combines the convert functionality with direct Notion integration.Request
Your Mark2Notion API key
The Markdown content to convert and append
Your Notion integration token (from notion.so/my-integrations)
The ID of the Notion page to append content to
Optional block ID to append content after. If not provided, content is appended to the end of the page.
Response
Will be “success” for successful requests
Examples
Append Positioning
Default Behavior
By default, content is appended to the end of the page.Using the after
Parameter
Specify a block ID to append content after a specific block:
Chaining Appends
Use thelastBlockId
from the response to chain multiple append operations:
Rate Limiting & Retries
The append endpoint includes intelligent rate limiting:- Automatic chunking: Large content is split into chunks of 100 blocks
- Sequential processing: Chunks are processed in order to maintain content sequence
- Retry logic: Automatic retries with exponential backoff for rate limits
- Respectful timing: 400ms delay between requests to respect Notion’s limits
Each append API call counts as 1 usage regardless of complexity. The
requestCount
is provided for transparency but does NOT affect your quota.Notion Setup
Before using the append endpoint, you need:-
Create a Notion Integration
- Go to notion.so/my-integrations
- Create a new integration
- Copy the integration token
-
Share Your Page
- Open your Notion page
- Click “Share” → “Invite”
- Add your integration
-
Get the Page ID
- From the page URL:
notion.so/page-name-PAGE_ID
- Or from the “Copy link” option
- From the page URL:
Error Responses
Handle Errors
Understand error responses and how to handle them.
Usage Notes
Every append request counts as exactly 1 API call in your usage quota, regardless of content size or complexity.
Make sure your Notion integration has access to the target page. The integration must be explicitly shared with the page.
Idempotency
The append endpoint includes built-in idempotency protection:- Duplicate requests with the same content and parameters are automatically detected
- Returns the original response for duplicate requests
- Prevents accidental duplicate content on your pages
Notion API Limits Handling
Mark2Notion provides comprehensive protection against all Notion API limits with intelligent handling strategies:✅ Fully Protected Limits
Content Size Limits
Content Size Limits
- Rich Text: 2000 characters per block (automatic text splitting)
- URLs: 2000 characters (truncated with warnings if exceeded)
- Equations: 1000 characters (truncated with warnings if exceeded)
- Email/Phone: Handled as regular text content (no special limits)
Block Structure Limits
Block Structure Limits
- Payload Size: 500KB maximum per request (pre-validation with detailed errors)
- Total Blocks: 1000 blocks maximum (automatic splitting into manageable chunks)
- Children Count: 100 blocks per request (intelligent chunking)
- Nesting Depth: 2 levels maximum (deep nesting preserved via sub-request strategy)
Rate & Access Limits
Rate & Access Limits
- Request Rate: 3 requests/second (exponential backoff + 400ms delays)
- Integration Capabilities: Proper error handling for access issues
- Page Access: Automatic verification before processing
📊 Advanced Capabilities
Deep Nesting Preservation
Handles unlimited nesting depth (5, 6, 7+ levels) by breaking into sub-requests while maintaining parent-child relationships
Large Document Support
Automatically splits documents with 1000+ blocks into manageable chunks without losing content order
Content Truncation Warnings
Provides clear warnings when URLs or equations are truncated, so you know exactly what was modified
Transparent Pricing
Every append request counts as exactly 1 API call, regardless of internal complexity
Perfect Coverage: Mark2Notion handles 100% of applicable Notion API limits automatically. You can send any markdown content without worrying about hitting Notion’s restrictions.