EnvelopeTemplates: listByDocument

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

Request

HTTP request

GET /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

Optional Query Parameters
includestring

A comma-separated list that limits the results. Valid values:

  • applied
  • matched

Responses

CodeDescriptionReference
200

Successful response.

EnvelopeTemplates
400

Error encountered.

errorDetails

SDK Method

Envelopes::listTemplatesForDocument

Definitions

errorDetails
templateMatch
templateSummary
EnvelopeTemplates

Examples

Generic JSON Response
Generic XML Response