Skip to main content
POST
Generate template preview
Required scopes: accounts--my:ro

Authorizations

Authorization
string
header
required

Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.

Body

application/json
content
object
type
enum<string>

Template type

Available options:
html,
visual
Example:

"html"

Response

200 - application/json

Successful response.

text
string

Template text preview

html
string

Template HTML preview