Skip to main content
POST
/
api
/
v1
/
templates
/
preview
Preview Template Endpoint
curl --request POST \
  --url https://api.example.com/api/v1/templates/preview \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>",
  "template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "custom_variables": {},
  "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "preview": "<string>",
  "all_variables": [
    "<string>"
  ],
  "builtin_variables": [
    "<string>"
  ],
  "custom_variables": [
    "<string>"
  ],
  "missing_variables": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.wazzapi.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string | null

Body

application/json

Request to preview a template.

content
string | null
template_id
string<uuid> | null
custom_variables
Custom Variables · object
contact_id
string<uuid> | null

Response

Successful Response

Response with preview data.

preview
string
required
all_variables
string[]
required
builtin_variables
string[]
required
custom_variables
string[]
required
missing_variables
string[]
required