I'm interested in using markdown content in a terraform notion provider.
It looks like this requires using notion API version 2026-03-11
Example create curl call:
curl -X POST https://api.notion.com/v1/pages \
-H 'Authorization: Bearer '"$NOTION_API_KEY"'' \
-H "Content-Type: application/json" \
-H "Notion-Version: 2026-03-11" \
--data '{
"parent": { "page_id": "YOUR_PAGE_ID" },
"markdown": "# Meeting Notes\n\nDiscussed roadmap priorities.\n\n## Action items\n\n- [ ] Draft proposal\n- [ ] Schedule follow-up"
}'
Example fetch curl call:
curl 'https://api.notion.com/v1/pages/YOUR_PAGE_ID/markdown' \
-H 'Authorization: Bearer '"$NOTION_API_KEY"'' \
-H "Notion-Version: 2026-03-11"
Response:
{
"object": "page_markdown",
"id": "page-uuid",
"markdown": "# Meeting Notes\n\nDiscussed roadmap priorities.\n\n## Action items\n\n- [ ] Draft proposal\n- [ ] Schedule follow-up",
"truncated": false,
"unknown_block_ids": []
}
I'm interested in using markdown content in a terraform notion provider.
It looks like this requires using notion API version
2026-03-11Example create curl call:
Example fetch curl call:
Response:
{ "object": "page_markdown", "id": "page-uuid", "markdown": "# Meeting Notes\n\nDiscussed roadmap priorities.\n\n## Action items\n\n- [ ] Draft proposal\n- [ ] Schedule follow-up", "truncated": false, "unknown_block_ids": [] }