Creates a new envelope using a predefined template.This endpoint allows you to generate an envelope by inheriting roles, fields, and documents from a template — eliminating the need to define recipients and layout manually.Each role in the template must be matched with a corresponding recipient in the request, and the number of recipients must match the number of roles exactly. Fields assigned to each role will automatically carry over to the matched recipient.Template documents are automatically used unless you explicitly replace them. When replacing a document, the new document must contain the same number of pages as the one it’s replacing, and page dimensions must be similar to preserve field positioning.You may also choose to create the envelope in a draft state for manual preparation via the Annature dashboard.
The name of the envelope, shown in the subject line of emails and in the Annature dashboard.Required only if the template does not define a default envelope_name.
Set to true to create the envelope as a draft.Drafts can be opened and edited in the Annature dashboard via: https://dashboard.annature.com.au/create-envelope?envelopeId={{envelope_id}}
A list of documents to replace those defined in the template.Each replacement must reference the id of the template document being replaced, and have the same number of pages with similar dimensions.