Skip to content

Structure

A template is rendered with POST /render/template, whose body is { "template": { … }, "data": { … }, "options": { … } }. The template holds version, a config (page size, locale, typography), and rows. Each row contains one or more blocks (text, heading, table, image, key-value, spacer, raw html). Blocks in the same row lay out side by side using config.width.

Edit the JSON and click Render PDF.