Docs
POST /v1/pdf
Use POST /v1/pdf to print HTML, a public URL, GitHub-flavoured Markdown, or a published Handlebars template to a production PDF with Chromium. Choose it for invoices, reports, and any page you can already render in a browser. Office files go to POST /v1/convert; merging existing PDFs is POST /v1/pdf/merge.
Provide exactly one of html, url, markdown, or templateId. HTML is UTF-8 JSON — not Base64. The same endpoint powers the Node fromHtml / fromUrl / fromMarkdown / fromTemplate helpers.