{"api":"esign_rest","category":"reference"}

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 associated with this resource operate on an existing template. Before you can add documents to a template, you must first create it with the Templates:: Create method.

MethodDescription
list
GET /v2.1/accounts/{accountId}/templates/{templateId}/documents

Gets a list of documents associated with a template.

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

Adds documents to a template document.

delete
DELETE /v2.1/accounts/{accountId}/templates/{templateId}/documents

Deletes documents from a template.

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

Gets PDF documents from a template.

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

Updates a template document.

}} />