RenderTemplateReq
- fieldsType: array object[] · TemplateFieldInfo[]required
Array of fields to populate in the template
- keyType: stringrequired
Unique identifier for the field
- typeType: stringenumrequired
Type of the field (form field or e-signature field)
values- Text
Field - Check
Box - Image
- Line
- Signature
- widgetsType: array object[]required
Visual elements representing this field in the PDF
- assignmentType: object
Assignment for the field, indicating which participant should fill this field
- includeType: string
If Optional JSONata expression to control field visibility
- valueType: string
Expression Optional JSONata expression to dynamically calculate field value from entity data
- fileType: string
Id requiredID of the PDF file to render
- inputsType: array object[]required
Inputs with their schema mappings
- keyType: stringrequired
Entity slot key
- requiredType: booleanrequired
Whether this entity slot is required
- schemaType: string
Key requiredSchema key for this entity
- scenarioType: string
Key requiredScenario key for data resolution
- isType: boolean
Preview Whether this is a preview render
- rolesType: array object[] · TemplateRole[]
Roles for e-signature workflow
- isType: boolean
Required requiredWhether this role must be assigned a participant when using the template
- keyType: stringrequired
Unique identifier for the role
- nameType: string
Human-readable name for the role
- roleType: string
Category Category or type of role (e.g., 'Signer', 'Approver')
