Create template
create_templateSave a new template. Send exactly one of body (an editor document), markdown, html or starter. In Markdown and HTML, write {{path}} where a value from the data goes; headings, paragraphs, lists, quotes, code and tables become editable blocks, and images and scripts are left out (left lists them). A starter answers its sample data too, for preview_template. Answers the id, the revision and the fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | An editor document, as get_template returns it. Images are PNG or JPEG data URLs or asset ids. get_template_format describes every key. | |
| html | No | HTML to import; {{path}} becomes a field. | |
| name | Yes | A name of 1 to 120 characters, unique in the account. | |
| starter | No | A starter template to begin from. get_template_format describes each one. | |
| markdown | No | Markdown to import; {{path}} becomes a field. |