Render PDF
render_pdfGenerate branded PDF documents by providing a template ID or raw HTML with variable data, receiving a signed download URL.
Instructions
Render a branded PDF document with the DocJet API. Provide a template_id (discover them with list_templates) or raw html, plus a data object for template variables. Returns a signed download URL for the PDF.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Template variables (Handlebars data object) | |
| html | No | Raw HTML to render (max 512 KB) — alternative to template_id | |
| template_id | No | Template ID from list_templates (provide template_id OR html) |