Render Template
render_templateRender an asset from a template ID using merge fields to replace placeholder variables. Requires explicit confirmation as provider charges may apply.
Instructions
Render an asset from a template id and optional merge fields. Merge fields can be used to replace placeholder variables within the Edit.
Base URL: https://api.shotstack.io/edit/{version} Explicit confirmation is required for this exact action; provider charges, hosting, sharing or deletion may apply. Never automatically resubmit unknown outcomes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The id of the template to render in UUID format. | |
| merge | No | An array of key/value pairs that provides an easy way to create templates with placeholders. The placeholders can be used to find and replace keys with values. For example you can search for the placeholder `{{NAME}}` and replace it with the value `Jane`. | |
| account | No | Named private Shotstack account; selects private credentials and stage/v1 environment. | |
| confirm | No | Must be true for this exact requested render, generation, mutation, upload URL or deletion. | |
| payload | No | Complete JSON request body instead of body flags. Preserves current endpoint fields and values. | |
| payload_file | No | Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. |