DocuSign Momentum 2018DocuSign Momentum 2018
{"api":"esign_rest","category":"reference"}

EnvelopeTemplates Resource

The EnvelopeTemplates resource provides methods that allow you to add and delete templates on envelopes and documents.

MethodDescription
listByDocument
GET /v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates

Retrieves the templates associated with a document in the specified envelope.

applyToDocument
POST /v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates

Adds templates to a document in the specified envelope.

delete
DELETE /v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates/{templateId}

Deletes the specified template from a document in an existing envelope.

list
GET /v2/accounts/{accountId}/envelopes/{envelopeId}/templates

This returns a list of the server-side templates, their name and ID, used in an envelope.

apply
POST /v2/accounts/{accountId}/envelopes/{envelopeId}/templates

Adds templates to the specified envelope.