Get a PDF template by ID

GET
/document_templates/:document_template_id

Path parameters

document_template_idstringRequired

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.

Response

This endpoint returns an object.
idstring
document_typeenum
is_defaultboolean
languagestring
namestring
templatestring
created_atdatetimeOptional
updated_atdatetimeOptional
blockslist of stringsOptional
previewobjectOptional
Represents a file (such as a PDF invoice) that was uploaded to Monite.
template_type"block" or "source_object"Optional
Allowed values: blocksource_object

Errors