Update email template

Saves the draft. updatedAt is the optimistic lock: send the value you last read, and a
concurrent edit answers 409 instead of silently overwriting the other author.

On a READY template the content goes to draft and the published version is untouched
until the next publish.

With renumberVariables: true the positions are renumbered to a contiguous 1..N in order
of first appearance, and variables follows.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
integer
required
string
length ≤ 60
string
enum
Allowed:
string
enum
Allowed:
string | null

Empty or null clears the integration.

source
object

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.

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
boolean
Responses

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