Import a Docusign Gen template from a JSON export
POST/v1/docgen/templates/import-from-source
Imports a Docusign Gen template using the JSON template export.
The export already embeds the source document as
documents[0].documentBase64, so no separate PDF upload is
required. Creates the linked Sign template, DocGen catalog
entry, and migration mapping atomically.
Request
Responses
- 200
- 201
Template updated (idempotent re-import)
Response Headers
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.
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>.
Template created
Response Headers
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.
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>.