Skip to main content
GET
Get one DocumentTemplate
A DocumentTemplate defines a reusable template for generating documents such as contracts, proposals, or invoices. Templates support HTML, Word, and binary output formats and can include dynamic merge fields populated from customer and business data.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the DocumentTemplate-Read role.

Path Parameters

integer
required
The Id of the DocumentTemplate record to retrieve.

Code Examples

Response

200

integer
ID of the business linked to this record.
string
Display name of the linked business (read-only).
string
The name value for this document template.
string
The document value for this document template.
string
Current file name of the binary document (read-only; upload via the corresponding URL field).
string
URL of a new file to upload as the binary document.
boolean
Set to true to remove the current binary document file.
integer
The template output format value for this document template. See eDocumentTemplateFormat enum values: 1 = Html, 2 = Word, 3 = Binary.
integer
Unique record identifier.
string
UUID of the record.
string
Date and time the record was created (ISO 8601).
string
Date and time the record was last updated (ISO 8601).
string
Email of the user who last updated this record.
boolean
Whether the record was recently created.
string
External system identifier.
Example Response