POST /documents/render
PDF Builder. Compose a document from commands: text, HTML templates, images and shapes at exact positions.
Builds a PDF from a list of commands — addPage, addText, addHtmlTemplate, addImage, addRectangle, addLine — at exact positions, for layouts that are easier to describe than to write as HTML: labels, certificates, forms. Each addHtmlTemplate is a real Chromium render, so the number of template commands per request is limited. Pair with /measure to size text before placing it.
Authentication, rate limits, versioning and the error format are shared by every operation — see the API reference index and the error codes. One credit per successful request on the hosted API.
Documentation in progress. The full parameter reference for this operation is published with the service launch. The operation exists in the current API contract and in the client libraries; write to support@rendarium.com if you need the details earlier.