GET /v1/email/templates/{id}
GET
/v1/email/templates/{id}
const url = 'https://seu-endereco-da-api/v1/email/templates/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://seu-endereco-da-api/v1/email/templates/example \ --header 'Authorization: Bearer <token>'Permissão que a Chave de acesso precisa: Ler campanhas (campaigns:read).
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”id
required
string
Responses
Seção intitulada “Responses”Media typeapplication/json
object
id
required
string
name
required
string
subject
required
string
preheader
required
string
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
designJson
required
The editor’s own document; the backend never reads it
object
key
additional properties
any
html
required
The compiled html the campaign sends
string
text
required
string
Example generated
{ "id": "example", "name": "example", "subject": "example", "preheader": "example", "createdAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z", "designJson": {}, "html": "example", "text": "example"}