API v2 private beta
Markdown to PDF API and MCP for polished, task-specific documents
Create versioned Markdown documents, publish polished PDFs asynchronously, and download verified artifacts through a scoped REST API.
API reference, examples, templates, and pricing
Copy-ready examples



One managed publishing lifecycle
- 01
Create a managed document and first revision.
- 02
Request a final PDF with a stable idempotency key.
- 03
Poll until succeeded, failed, or cancelled.
- 04
Mint a short-lived private artifact link.
- 05
Download the signed URL without forwarding Authorization.
Quick Start
Create a document, publish it, and download the verified PDF.
curl https://markdowntopdfconverter.com/api/v2/documents \
-H "Authorization: Bearer $MD2PDF_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: proposal-42-document" \
-d '{
"taskId": "consulting-proposal",
"title": "Northstar proposal",
"revision": {
"markdown": "# Northstar Proposal\n\n## Outcome\nA decision-ready roadmap.",
"parentRevisionId": null,
"spec": {"locale":"en","options":{"pageNumbers":true},"templateId":"proposal-consulting"}
}
}'
# Then publish the returned revision, poll its job, and mint a private artifact link.Start with a reviewed automation
Import the full publish, poll, and private-download flow instead of rebuilding it node by node.
n8n
Inactive workflow export with persisted waits and terminal failure handling.
Make
Credential-free blueprint with bounded polling and a duplicate-download guard.
Zapier
SDK Code step and guided-template manifest in one setup kit.
Use a dedicated key with documents.render and documents.read. The signed PDF URL must be downloaded without that key.
Ship PDF generation today
Create a free API key and make your first call in minutes.