Turn an HTML file into a PDF
Use the current Generate and download a document guide to create output, poll its render status, and download the completed PDF.
- Prepare a template and its merge values.
- Submit the generation request and retain the returned render, file, and document identifiers separately.
- Poll the render identifier until processing completes.
- Download through the documented file or document endpoint. Do not treat the JSON/base64 file response as raw PDF bytes.

A generated PDF viewed in the current application. Local demonstration using production application code and test data.
The old SDK and page-streaming walkthroughs are not the current API-key contract. Consult files and downloads for the supported resource paths and access behavior.
Updated 19 days ago
Did this page help you?