TemplateDocuments Resource

The TemplateDocuments resource provides methods that manage documents in a template. You can:

  • add one or more documents to the template
  • retrieve one or more documents from the template
  • delete documents from the template

All of the methods in this resource operate on on an existing template. Before you can add documents to a template, you must first create it with the Templates: create method.

Methods

Method Description
delete DELETE /v2/accounts/{accountId}/templates/{templateId}/documents

Deletes documents from a template.

get GET /v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}

Gets PDF documents from a template.

list GET /v2/accounts/{accountId}/templates/{templateId}/documents

Gets a list of documents associated with a template.

update PUT /v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}

Adds a document to a template document.

updateList PUT /v2/accounts/{accountId}/templates/{templateId}/documents

Adds documents to a template document.