Skip to main content
POST
/
cabinet
/
admin
/
email-templates
/
{notification_type}
/
preview
Preview rendered template
curl --request POST \
  --url http://localhost:8080/cabinet/admin/email-templates/{notification_type}/preview \
  --header 'Content-Type: application/json' \
  --data '
{
  "language": "ru",
  "subject": "",
  "body_html": ""
}
'
{}

Path Parameters

notification_type
string
required

Body

application/json

Request to preview an email template.

language
string
default:ru
subject
string
default:""
body_html
string
default:""

Response

Successful Response

The response is of type Response Preview Template Cabinet Admin Email Templates Notification Type Preview Post · object.