Skip to main content
POST
Preview template

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Path Parameters

templateId
string
required

Body

application/json
data
object

Personalization data for {{variable}} placeholders.

Response

Successful response

subject
string
required
htmlBody
string
required
variableNames
string[]
required
textBody
string