Documentation

Build with MDDoc

REST API, MCP server, SharePoint export. Everything you need to automate document conversion in your pipeline.

Simple, predictable API

One endpoint to convert. One to list templates. One to check status. We don't believe in sprawling APIs with 200 endpoints you'll never use.

  • JSON request and response
  • Bearer token authentication
  • Binary or JSON response formats
  • Clear error codes and warnings
Full API reference
Terminal
$ curl -X POST https://api.mddoc.app/api/v1/convert \
  -H "Authorization: Bearer mddoc_..." \
  -H "Content-Type: application/json" \
  -d '{"markdown": "# Hello", "template_id": "...", "mapping_id": "..."}'

{
  "conversion_id": "a1b2c3d4-...",
  "status": "completed",
  "download_url": "/api/v1/conversions/.../download",
  "stats": { "headings": 1, "paragraphs": 0 }
}

Ready to integrate?

Get your first conversion running in under five minutes. 3 free conversions — no account needed.