> You are reading the Docusign Developer Documentation. For clean Markdown of any page, append .md to the page URL. > > Documentation indexes by section: > - APIs and SDKs: https://docusign.docs.buildwithfern.com/docs/llms.txt > - Platform 101: https://docusign.docs.buildwithfern.com/platform/llms.txt > - Extension Apps: https://docusign.docs.buildwithfern.com/extension-apps/llms.txt > - Docusign CLI: https://docusign.docs.buildwithfern.com/docusign-cli/llms.txt > > Authentication (OAuth, JWT Grant, M2M): https://docusign.docs.buildwithfern.com/platform/auth > Webhooks and Connect: https://docusign.docs.buildwithfern.com/platform/webhooks > > OpenAPI specifications: https://docusign.docs.buildwithfern.com/openapi.json > MCP server: https://docusign.docs.buildwithfern.com/_mcp/server # EnvelopeDocumentFields Resource The EnvelopeDocumentFields resource provides methods that allow you to manage custom fields on a document. Custom fields are name-value pairs that are returned by the API but otherwise not used by Docusign. They are not seen by the envelope recipients. ## Methods supported | Method | Description | | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [create](/docs/esign-rest-api/reference/envelopes/envelopedocumentfields/create) | POST `/restapi/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields` Creates custom document fields in an existing envelope document. | | [delete](/docs/esign-rest-api/reference/envelopes/envelopedocumentfields/delete) | DEL `/restapi/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields` Deletes custom document fields from an existing envelope document. | | [list](/docs/esign-rest-api/reference/envelopes/envelopedocumentfields/list) | GET `/restapi/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields` Gets the custom document fields from an existing envelope document. | | [update](/docs/esign-rest-api/reference/envelopes/envelopedocumentfields/update) | PUT `/restapi/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields` Updates existing custom document fields in an existing envelope document. | ## EnvelopeDocumentFields properties | Property | Type | Description | | ---------------- | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `documentFields` | array | The 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. | ## API Docs - EnvelopeDocumentFields [Create custom document fields in envelope document](https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopedocumentfields/create.md) - EnvelopeDocumentFields [Delete envelope document fields](https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopedocumentfields/delete.md) - EnvelopeDocumentFields [Get custom document fields from envelope document](https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopedocumentfields/list.md) - EnvelopeDocumentFields [Update custom document fields in envelope document](https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopedocumentfields/update.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://developers.docusign.com/openapi.json) - [OpenAPI YAML](https://developers.docusign.com/openapi.yaml)