统一的托管发布生命周期
- 01
创建托管文档及其首个修订。
- 02
使用稳定的幂等键请求最终 PDF。
- 03
轮询至 succeeded、failed 或 cancelled。
- 04
签发短期私密产物链接。
- 05
下载签名 URL,且不转发 Authorization。
快速开始
创建文档、发布并下载已验证的 PDF。
cURL
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.从已审核的自动化开始
直接导入完整的发布、轮询和私密下载流程。
n8n
默认停用,含持久等待和终态失败处理。
Make
不含凭据,含有界轮询和重复下载保护。
Zapier
SDK Code 步骤和引导模板清单的一体化设置包。
使用仅含 documents.render 和 documents.read 的专用密钥。下载签名 URL 时不要携带该密钥。
今天就上线 PDF 生成
创建免费 API 密钥,几分钟内完成首次调用。


