Print on a letterhead

POST https://getokta.io/api/apps/reports/templates/{id}/render

Print your content on a letterhead — returns a PDF.

  • Rate Limit: HEAVY
    How heavily this call counts against your quota: LIGHT < MODERATE < HEAVY.
  • Permission needed: reports.builder.read
    The scope the tenant must grant your app before this call is allowed.
  • Reference Code: srv_2c93
    A stable identifier for this endpoint — quote it to support to speed up tracing.

Path Params

id string required

The opaque template id exactly as the listing returned it — not a number.

Body Params

blocks array required

The document body — blocks: heading, text, table, info-row, divider, spacer, image. An unknown type is refused, not skipped.

variables object

Values for the template’s declared variables. An undeclared key is dropped; platform variables cannot be overwritten.