The Markdown Importer REST API allows you to programmatically import markdown content into Confluence pages. This feature is designed for automation workflows, CI/CD pipelines, bulk migrations, and custom integrations.
Note: The REST API currently supports importing only. Export functionality via API is not yet available and must be done through the UI.
Explore the REST API documentation:
curl -X POST "YOUR_API_ENDPOINT" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"spaceId": "DOCS",
"parentId": "123456789",
"pageTitle": "My First API Page",
"content": "# Hello World\n\nThis is my first API-created page!",
"overwrite": false
}'