DocumentTemplate
An org-managed document (subscription) template: the uploaded PDF or DOCX, its processing state and how many field placements it has.
idrequiredstring (uuid)- The template's id.
namerequiredstring | null- The template's display name, or null when it has never been named. Search matches it and the original filename.
typerequiredstring- What the template is for. Only subscription_document exists.One of: subscription_document
kindrequiredstring- The kind of file the template holds. It is fixed when the template is created.One of: docx, pdf
original_filenamerequiredstring- The name of the file as it was uploaded.
validatedrequiredboolean- Whether processing has finished: page sizes read from a PDF, or variables read from a DOCX. A new template is not validated until then.
variable_countrequiredinteger- How many variables were found in a DOCX template. Zero for a PDF.
variablesrequiredstring[]- The variable names found in a DOCX template. Empty for a PDF.
page_metadatarequiredobject[]- The size of each page of a PDF template. Empty for a DOCX template and until a PDF has been processed.
positions_countrequiredinteger- How many field placements the template has. Read them at GET /document-templates/{id}/positions.
mapped_field_refsstring[]- The distinct form field references that have at least one placement. DocuSign and auxiliary placements are left out.
validated_atrequiredstring | null (date-time)- When processing finished, or null while it has not.
created_atrequiredstring | null (date-time)- When the template was uploaded.
updated_atrequiredstring | null (date-time)- When the template last changed.