Document AI — DMS

Get Document Template

Retrieve one document generation template by ID, including html_content, header_html, footer_html, page layout and variables_schema.

post/document_generation/template-get

Request

  • Base URL: https://api.paperoffice.ai/latest
  • URL: https://api.paperoffice.ai/latest/document_generation/template-get
  • Auth: HTTP bearer

Request body

template_idstring required

Template ID from po_templates_list.

include_inactiveboolean

Also return a deactivated (deleted) template.

versioninteger

Corporate plan and above: Read a specific version (default: current).

Response

Success

status'success' required
_billingobject

Changes

No recorded changes to this operation across all 1 revision of this API.