DocuSign icon

DocuSign

Interact with the DocuSign eSignature REST API v2.1 — complete enterprise coverage

Actions341

Template HTML Definition → List Document

AI-generated

Summary

Retrieve the HTML document definition of a specific document within a template in a DocuSign account.

Inputs

  • Authentication — Choose authentication method: OAuth2 or JWT (Service Integration). Default is OAuth2.
  • Category — Select the API category to work with; defaults to 'envelopes' but typically not changed for this operation.
  • Account ID (required) — The DocuSign Account ID (GUID) to target the specific account.
  • Template ID (required) — The ID (GUID) of the template containing the document.
  • Document ID (required) — The numeric ID of the document in the template to retrieve the HTML definition for; special values like 'combined', 'archive', or 'certificate' are supported.

Output shape

A single JSON object representing the HTML definition of the specified document within the template.

Returns the document's HTML definition data as per the DocuSign API response; no pagination involved.

Examples

Example 1: Retrieve the HTML content definition for document ID '1' in a specific template of your DocuSign account.

Set 'Account ID' to your DocuSign account GUID, provide the 'Template ID' GUID, and set 'Document ID' to '1' to fetch the HTML definition of that document.

Links

Discussion