EnvelopeTemplates: applyToDocument

Adds templates to a document in the specified envelope.

Request

HTTP request

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

Parameters

Parameter NameValueDescription
Path Parameters
accountIdstring

The external account number (int) or account ID Guid.

documentIdstring

The ID of the document being accessed.

envelopeIdstring

The envelope's GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec

Responses

CodeDescriptionReference
201

Successful response.

documentTemplateList
400

Error encountered.

errorDetails

SDK Method

Envelopes::applyTemplateToDocument

Definitions

documentTemplate
documentTemplateList
errorDetails

Examples

Generic JSON Request/Response
Generic XML Request/Response