Templates
Saved templates
Save your HTML once, then send only the data: templateId and data instead of html. Works for PDFs and screenshots.
No templates yet.
| Name | templateId | Size | Updated | Actions |
|---|
Template syntax
Mustache style. Values come from the data of each request.
{{name}}- A value, HTML-escaped. Nested values:
{{customer.name}}. {{{html}}}- A value without escaping, for HTML you trust.
{{#items}}…{{/items}}- Repeats for each item of a list (inside,
{{.}}is the item); shows once for an object ortrue; hidden when missing, false or empty. {{^items}}…{{/items}}- Shown only when the value is missing, false or empty.
{{! note }}- A comment, left out of the result.
Format numbers and dates in your data before sending them. Templates can be up to 512 KB; load images from a URL. Templates are stored until you delete them; the data you send and the files you get are never stored.