{"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 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.

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}

Adds a document to a template document.

}} />