Skip to main content
POST
/
v1
/
admin
/
notifications
/
preview
Preview template
curl --request POST \
  --url https://{operatorDomain}/v1/admin/notifications/preview \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "templateId": "<string>",
  "data": {}
}
'
{
  "subject": "<string>",
  "body": "<string>"
}

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Body

application/json
templateId
string
data
object

Response

200 - application/json

Rendered preview

subject
string
body
string