Templates

Render a template preview

Returns the rendered HTML with the supplied variables substituted. Useful for checking a template before sending.

get/templates/{id}/preview

Request

  • Base URL: https://api.eusend.dev
  • URL: https://api.eusend.dev/templates/{id}/preview
  • Auth: HTTP bearer

Path parameters

idstring uuid required

The template id.

Query parameters

variablesstring

A JSON object of substitution values, URL-encoded.

Response

The rendered HTML.

Changes

No recorded changes to this operation across all 1 revision of this API.