Email Templates

Render an email template

Renders a template using the provided Liquid variables. Missing template_variables defaults to {}.

post/email_templates/{id}/render

Path parameters

idstring uuid required

Email template UUID.

Request body

template_variablesobject

Variables for Liquid template rendering. Non-object values are silently treated as an empty object.

Response

Rendered template content.

Changes

Changed in 5 of the 61 revisions of this API.2209

  • 80833e66e0101126See the full diff
    • removed the required property errors/items/message from the response with the 422 status

      response-required-property-removed

    • added the new 10001 enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the new 10006 enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the new 10007 enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the new 10015 enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the new 10016 enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the new 10019 enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the new 10027 enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the new 10036 enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the new 404 enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the new 500 enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the new recipient_suppressed enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the new reputation_suspended enum value to the errors/items/code response property for the response status 422

      response-property-enum-value-added

    • added the optional property errors/items/meta to the response with the 422 status

      response-optional-property-added

    • added the optional property errors/items/source to the response with the 422 status

      response-optional-property-added

    • added the optional property suppressed to the response with the 422 status

      response-optional-property-added

    • removed the render_error enum value from the errors/items/code response property for the response status 422

      response-property-enum-value-removed

    • added the required property errors/items/detail to the response with the 422 status

      response-required-property-added

    • added the required property errors/items/title to the response with the 422 status

      response-required-property-added

  • 2fb3b617430a42See the full diff
    • added the new recipient_suppressed enum value to the errors/items/code response property for the response status 401

      response-property-enum-value-added

    • added the new recipient_suppressed enum value to the errors/items/code response property for the response status 404

      response-property-enum-value-added

    • added the new reputation_suspended enum value to the errors/items/code response property for the response status 401

      response-property-enum-value-added

    • added the new reputation_suspended enum value to the errors/items/code response property for the response status 404

      response-property-enum-value-added

    • added the optional property suppressed to the response with the 401 status

      response-optional-property-added

    • added the optional property suppressed to the response with the 404 status

      response-optional-property-added

    • added the new 10027 enum value to the errors/items/code response property for the response status 401

      response-property-enum-value-added

    • added the new 10027 enum value to the errors/items/code response property for the response status 404

      response-property-enum-value-added

    • added the new 10036 enum value to the errors/items/code response property for the response status 401

      response-property-enum-value-added

    • added the new 10036 enum value to the errors/items/code response property for the response status 404

      response-property-enum-value-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 111 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog