Templates
Authorization
AuthorizationRequiredBearer <token>API key from Settings page. Keys start with p4_live_ prefix.
In: header
Request Body
application/jsonRequirednamestringhtmlstringplain_textstringpdf_formatobjectPage format configuration. If omitted, defaults to A4 portrait with 20mm top/bottom and 15mm left/right margins.
sample_dataobjectheader_component_idstringHeader component ID or null to remove
footer_component_idstringFooter component ID or null to remove
Path Parameters
idRequiredstringTemplate ID (tmpl_xxx) or slug (e.g. monthly-invoice)
Template updated