Preview an email template

Compiles and validates a payload without touching the database.

Runs the same pipeline and the same linter as publish, then replaces each {{n}} with its
example — escaped in html, raw in text and subject, exactly as the adapter will do on
send. The integration rules do not run here.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
source
object
required

Conteúdo escrito pelo autor. É o que o PUT grava e o que o POST /email-templates/preview
recebe — o mesmo shape nos dois, para que o preview não possa divergir do que é publicado.

string
enum
required
Allowed:
variables
array of objects

Posições da sequência. A ordem é o contrato: variables[i] descreve {{i+1}}. Não existe
campo index — um índice explícito abriria espaço para o array e o texto divergirem.

A sequência é única para o template inteiro: assunto, pré-cabeçalho e corpo compartilham a
numeração, e repetir a mesma posição em dois lugares usa o mesmo valor.

variables
string
Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json