Skip to content
Yamuno
Browse

Markdown Importer REST API

A GitHub Actions step publishing a page through the API

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.

Key Features

  • Secure Authentication: JWT-based token authentication
  • Automatic Conversion: Markdown to Confluence ADF (Atlas Document Format)
  • Conflict Handling: Create new pages or update existing ones
  • License Validation: Tied to your active Confluence license
  • Audit Logging: Complete request logging for security and debugging

Prerequisites

  • Active Markdown Importer for Confluence license
  • Admin access to Confluence global settings
  • HTTPS-enabled environment for secure API calls

Documentation Sections

Explore the REST API documentation:

Quick Start

  1. Navigate to Confluence Settings → Apps → Markdown Importer for Confluence → API tab
  2. Click Create New Token and configure expiration
  3. Copy your token (you won't see it again!)
  4. Make your first API request:
curl -X POST "YOUR_API_ENDPOINT" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "spaceId": "98765432",
    "parentId": "123456789",
    "pageTitle": "My First API Page",
    "content": "# Hello World\n\nThis is my first API-created page!",
    "overwrite": false
  }'

GitHub Actions

To publish a docs folder on every push, use the open source confluence-markdown-sync Action. See Examples for the workflow step.

Support


  • Document Version: 1.0
  • Last Updated: 2025-10-07
  • Product: Markdown Importer for Confluence

Guides for Markdown Importer for Confluence Cloud

Stuck on something this page does not cover? Ask the developers.