Render a saved template with data
Renders the template's current version with data, then converts it as /v1/convert does, with the same engines, limits and billing. asset:<filename> in an <img src> or a CSS url() is replaced by that uploaded asset. Send the request to the host of your project's region, api.eu.revecto.dev, api.us.revecto.dev or api.apac.revecto.dev; see Regions.
ApiKeyAuthAuthorizationBearer <opaque>API key passed as Bearer token (e.g. rvt_...).
application/json- body
template_id*stringId of a template in your account, shown in the dashboard.
uuiddata*Values merged into the template.
engine*EngineRendering engine, required on every render, with no default.
chromiumrenders the document in a full browser engine and supports the CSS a current browser prints; it is the slower engine. It prints@pagemargin boxes withcounter(page)andcounter(pages), and repeats aposition: fixedelement on every page.formelays the document out without a browser: it is faster and supports a subset of HTML and CSS. A document outside that subset, including any character no available font covers (Arabic, Hebrew, Thai, Devanagari and monochrome emoji are covered by built-in fonts; for Chinese, Japanese and Korean link a Google Fonts stylesheet or register a TrueType font; color emoji are not available; Arabic-Indic and Persian digits are refused because Forme draws them in reverse order), is refused with422 document not supported by the forme engine, whoseunsupportedfield lists what was not supported.
"forme""chromium"options?Page setup for a render. Every property is optional; an omitted one takes its default. An invalid value is refused with 400 invalid request body: <cause>, and a property not listed here with 400 invalid request body: unknown option: <name>.
The PDF document; the body is binary.
response?fileapplication/pdfbinarycurl -X POST 'https://api.eu.revecto.dev/v1/render' \ -H 'Content-Type: application/json' \ -d '{ "engine": "chromium", "template_id": "e5b9c8d7-a6f5-4e4d-9c3b-2a1f0e9d8c7b", "data": { "invoice_number": "INV-2026-0042", "customer_name": "Acme GmbH" }}'"<binary PDF>"