render_pdf
Render an HTML document to a PDF
Render up to 256 KB of HTML to a PDF with WeasyPrint. Returns a download link. Give the user the `download_url` so they can open the PDF. The link works for 15 minutes; after that, render again. The result is `{"download_url": "<link>", "pages": <page count>, "size_bytes": <PDF size>, "expires_in_minutes": 15}`. Only HTML and CSS are rendered; JavaScript is not run. For documents larger than 256 KB, use the REST API (`POST /v1/weasyprint/render`). Credits: 1 per call.
htmlrequiredpdf_variant