Get the merge-variable schema for a template
GET/v1/docgen/templates/:id/form-fields
Returns the merge tokens parsed from the template's source DOCX
so authoring UIs can populate field pickers and dataset bindings
without an extra ingest step. Templates without a parseable
source (HTML, MDX, etc.) return an empty mergeFields[].
Request
Responses
- 200
- 404
Merge field schema
Template not found