curl -X POST "https://api.mark2notion.com/api/append-blocks" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"blocks": [
{
"object": "block",
"type": "paragraph",
"paragraph": {
"rich_text": [
{
"type": "text",
"text": { "content": "First paragraph from raw blocks" }
}
]
}
},
{
"object": "block",
"type": "paragraph",
"paragraph": {
"rich_text": [
{
"type": "text",
"text": { "content": "Second paragraph" }
}
]
}
}
],
"notionToken": "secret_NOTION_INTEGRATION_TOKEN",
"pageId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}'