DocuSign icon

DocuSign

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

Actions341

Envelope Document Field → Create

AI-generated

Summary

Create a document field on an existing envelope

Inputs

  • category — API category to scope the operation (e.g., Envelopes, Templates, Account, Users & Groups, etc.)
  • authentication — Authentication method to use (OAuth2 or JWT Service Integration)
  • accountId (required) — DocuSign Account ID (GUID) for the target account
  • envelopeId (required) — Envelope ID (GUID) where the document field will be added
  • documentId (required) — Numeric ID of the document; use "combined" for merged documents, "archive" for ZIP, or "certificate" for CoC
  • documentFields — Collection of field definitions to apply to the document; each field has a name and value

Output shape

a single created field object

Returns the created field definition; validation or system errors are returned as DocuSign error envelopes

Examples

Example 1: Add a custom field to a document in an existing envelope

Set accountId, envelopeId, documentId=1, add a field with name 'Reference' value 'ABC123' in documentFields

Example 2: Create envelope with minimal document field configuration

Provide accountId, envelopeId, leave documentId as default '1', optionally add a simple documentFields object

Example 3: Add multiple document fields in one request

Supply an array of field objects under documentFields, each containing a name and value

Links

Discussion