DocuSign icon

DocuSign

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

Actions341

Envelope → Create From Template

AI-generated

Summary

Create an envelope from a template.

Inputs

  • authentication — Authentication method (OAuth2 or JWT).
  • category — Target API category (default 'envelopes').
  • accountId (required) — DocuSign Account ID (GUID) for the envelope.
  • templateId (required) — Template ID (GUID) to clone.
  • templateRoles (required) — Recipient role mappings to actual signers.
  • templateStatus — Envelope status to start with (created or sent).
  • templateEmailSubject — Override email subject for the envelope.

Output shape

a single created envelope object

Returns the new envelope details including envelopeId; optional fields may be omitted; errors are signaled via HTTP status codes.

Examples

Example 1: Create envelope using OAuth2 with default category

authentication: OAuth2; category: envelopes; accountId: 123456; templateId: 7890abcd; templateRoles: [{roleName: "Signer 1", email: "signer@example.com", name: "John Doe"}]; templateStatus: sent; templateEmailSubject: ""

Example 2: Create envelope with JWT and custom email subject

authentication: JWT; category: envelopes; accountId: 112233; templateId: 4455aa; templateRoles: [{roleName: "Signer 1", email: "john@example.com", name: "John Doe", deliveryMethod: "email"}]; templateStatus: sent; templateEmailSubject: "Contract Signing"

Links

Discussion