> ## Documentation Index
> Fetch the complete documentation index at: https://docs.selltrust.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Prévia de Template

Renderiza um assunto e um HTML com dados de exemplo, exatamente como no envio, sem enviar nada. Serve para conferir o resultado e validar o Liquid antes de salvar.

Template com erro retorna `400` com `message`, `field` (`subject` ou `html`), `line` e `column`.

> [!NOTE]
>
> Exige a permissão **Gerenciar Marketing** (`MANAGE_MARKETING`) do usuário que criou o token. Veja [Permissões do token](https://docs.selltrust.com.br/api-reference/permissions.md).

**Authorization** `string` *required*

Token de API no formato `Bearer stk_live_...`.

**kind** `string` *required*

`ABANDONED_CHECKOUT` ou `CAMPAIGN`: define os dados de exemplo.

**subject** `string` *required*

Assunto a renderizar.

**html** `string` *required*

HTML a renderizar.

```json Response theme={null}
{
  "subject": "Novidades na Minha Loja",
  "html": "<!doctype html>\n<html lang=\"pt-BR\">… Olá, Maria! …</html>"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.