Skip to navigation

EnvelopeDocumentFields Resource

View as Markdown

The EnvelopeDocumentFields resource provides methods that allow you to manage custom fields on a document.

You can create custom versions of standard fields that combine of field properties, such as font type or size, or a validation setting.

Note: Some advanced features and options are supported only in certain DocuSign plans. Your account plan might not support some options discussed in this help topic. For more information about which options are available for your account, check your account plan or contact your Account Manager.

Methods supported

MethodDescription
createPOST /restapi/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields
Creates custom document fields in an existing envelope document.
deleteDEL /restapi/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields
Deletes custom document fields from an existing envelope document.
listGET /restapi/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields
Gets the custom document fields from an existing envelope document.
updatePUT /restapi/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields
Updates existing custom document fields in an existing envelope document.

EnvelopeDocumentFields properties

PropertyTypeDescription
documentFieldsarrayThe array of name/value custom data strings to be added to a document. Custom document field information is returned in the status, but otherwise is not used by DocuSign. The array contains the elements:
  • name - A string that can be a maximum of 50 characters.
  • value - A string that can be a maximum of 200 characters.
IMPORTANT: If you are using xml, the name/value pair is contained in a nameValue element.