DocuSign icon

DocuSign

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

Actions341

Template Document → Update

AI-generated

Summary

Update a specific document within a DocuSign template by providing the account ID, template ID, document ID, and the new document content and metadata.

Inputs

  • Authentication — Choose the authentication method to connect with DocuSign API: OAuth2 or JWT (Service Integration). Defaults to OAuth2.
  • Category — Select API category to work with; default is 'envelopes', but 'templates' is relevant here.
  • Account ID (required) — DocuSign Account ID (GUID), required to scope the API request.
  • Template ID (required) — ID (GUID) of the template which contains the document to update.
  • Document ID (required) — Numeric ID of the document in the template to update (e.g., '1').
  • Document (required) — Document content and metadata including document name, source type (binary or base64 string), binary property name if binary source, base64 content if base64 source, and file extension (PDF, DOCX, or HTML).

Output shape

a single record representing the updated template document.

The returned data represents the updated document within the template. The operation requires specifying the exact template and document IDs and supplying the new document content to replace the existing one.

Links

Discussion