Render

Render (template optional)

Template resolution:

  1. ?template=name: use that template (strict validation).
  2. Otherwise the most specific gallery template whose schema the data satisfies.
  3. Otherwise the generic document layout: header from title/from/to (or inferred from an *_id key), a details panel for short fields, one section per remaining key (objects → key/value grids, arrays of objects → tables). If a template almost matched (≤ 2 problems), x-template-hint says what's missing.
post/v1/render

Request

  • Base URL: https://api.quirepdf.dev
  • URL: https://api.quirepdf.dev/v1/render
  • Auth: HTTP bearer

Query parameters

templatestring
format'pdf' | 'png'
pageinteger

1-based page number (PNG only)

testboolean

Free test render. Watermarked on every page, not counted, works after the quota runs out. Rate limits still apply.

Request body

object required

Response

Rendered document

Changes

No recorded changes to this operation across all 1 revision of this API.