order
and muted
properties defined on each recipient. For more detail on how recipients behave, refer to the recipients section.
All envelopes must include an account_id
to identify the sender. If the account is assigned to a group, the envelope will automatically inherit that group. This can be overridden by supplying a group_id
directly.
Each envelope must include at least one document and one recipient with a type of signer
. Every signer must have at least one field defined.
To create a draft envelope, set draft
to true and include at least one document. Drafts can optionally include recipients, but recipient fields are not supported in drafts.
Drafts can be opened and completed in the Annature dashboard by visiting: https://dashboard.annature.com.au/create-envelope?envelopeId={{envelope_id}}
Field placement methods
When creating fields for a recipient, there are two supported placement strategies: anchor-based (automatic) or coordinate-based (fixed). Regardless of which method you use, any field whose bounding box would extend beyond the page bounds will be silently skipped. Ensure all fields fit entirely within the page dimensions to be rendered correctly.Anchors (automatic placement)
Anchors allow you to specify a text string, and fields will be automatically created at every location in all documents where that string appears. Anchors are a fast and flexible way to apply fields without knowing exact coordinates.- All anchor matches use the bottom-left of the matched text as the origin.
- Optional
x_offset
andy_offset
can be supplied to fine-tune placement.
Coordinates (fixed positioning)
For precise control, coordinates can be supplied using absolutex_coordinate
and y_coordinate
values.
- All coordinates use 72 DPI rendering with a bottom-left origin.
- For most fields, positioning is relative to the bottom-left corner.
- For
input
fields, positioning is relative to the top-left, and height expands downward based on content.
Parameters
The name of the envelope. Displayed in the subject line of emails sent to recipients and when viewing the envelope.
The envelope message. Displayed in the body of the emails sent to recipients and in the Annature UI.
If true, the envelope is shared with other accounts in the same group as the sender.
Set to true to create a draft envelope. Signing emails will not be sent until the envelope is sent manually or via API.
The unique identifier of the sender’s account.
The group to assign this envelope to. If not supplied, the sender’s group will be used automatically.
A collection of base64-encoded PDF or Word documents. Word files are automatically converted to PDF.Each document can be up to 10mb in raw size. An envelope can include multiple documents, but total file size and page count limits apply. See Document limits for full details.
A collection of recipients. At least one recipient of type
signer
is required unless the envelope is a draft.Set of key-value pairs attached to the envelope.