Preview

POST
Preview rendered template

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired
The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
bodystringRequired
Body text of the template
document_typeenumRequired
Document type of content
language_codeenumRequired
Lowercase ISO code of language
subjectstringRequired
Subject text of the template

Response

This endpoint returns an object.
body_previewstring
subject_previewstring

Errors