Skip to main content

Get Envelope DocGen Form Fields

GET 

/restapi/v2.1/accounts/:accountId/envelopes/:envelopeId/docGenFormFields

Returns the sender-side merge fields the envelope's DocGen template exposes, with any per-envelope overrides previously written via PUT merged on top. Works at any envelope status (read-only). Source of truth for the field model is the linked Sign template's mergeFields (the TemplateGenerationMetadata captured at import).

Request

Responses

Docusign EnvelopeDocGenFormFieldList.

Response Headers
    X-Request-Id

    Correlation id for this request, returned on every response (success and error). Quote it when contacting support to pinpoint the exact request, and use it to correlate your own logs. It is the same 128-bit id as the trace-id segment of the traceparent header.

    traceparent

    W3C Trace Context identifier for this request, returned on every response. Send your own traceparent on a request to have it adopted, so a multi-call workflow shares one trace. Format: 00-<32-hex trace-id>-<16-hex span-id>-<2-hex flags>.