Creates a template from an uploaded PDF or DOCX and template fields. If recipients are provided, a PDF instance is immediately created from the template and recipient notifications are sent. See the guide for implementing createNewTemplate.
Name for the template.
Template fields grouped by recipient index. Each inner array corresponds to the fields for a recipient. Sent as JSON within multipart.
The template PDF file to upload. Note that you can also upload a DOCX file here but will be converted to a PDF.
Optional custom subject for the email sent to recipients.
Optional. If provided, immediately creates a document instance and notifies recipients.
Optional. Default false if omitted.