This guide explains how to control the order in which recipients sign an envelope — sequential vs parallel — how mandatory and optional recipients affect the outcome when someone declines, and how sign groups let any one of several people act for a position. Everything here is set in the POST /signatures/envelope/create body (or the Envelope Template body) and is fixed once the envelope is sent.
The isSignOrder flag on the envelope object controls the signing mode:
| Mode | isSignOrder | Behaviour |
|---|---|---|
| Parallel | false | Every recipient is emailed as soon as the envelope is sent and can act in any order. signOrder is ignored. |
| Sequential | true | Only the recipient first in the signing order is emailed at send time. Each subsequent recipient is notified once the recipient before them has signed. Order is set by each recipient's signOrder — not by their position in the recipients array. |
To have Jane sign before John, set isSignOrder: true and give Jane signOrder: 1 and John signOrder: 2. John receives his notification only after Jane has signed:
{
"recipients": [
{
"referenceSignerId": 1,
"name": "Jane Smith",
"email": "jane@example.com",
"role": "signer",
"signOrder": 1,
"mandatory": true
},
{
"referenceSignerId": 2,
"name": "John Doe",
"email": "john@example.com",
"role": "signer",
"signOrder": 2,
"mandatory": true
}
],
"envelope": {
"isSignOrder": true,
...
}
}When
isSignOrderistrue, every recipient that is not in a sign group must have a non-zerosignOrder, and every sign group must have one. Otherwise create is rejected with400.
The mandatory flag says whether a recipient must complete their part for the envelope to complete, and controls what happens when they decline:
Mandatory (true) | Optional (false) | |
|---|---|---|
| Recipient declines | The envelope becomes Declined: the other recipients are canceled, the declined notifications are emailed, and the envelope can no longer be opened | The decline is recorded but the envelope stays In Progress and can still complete. With sign order on, the next signers are emailed. |
| Completion | The envelope cannot complete until this recipient has finished | Ignored for completion |
| Use when | The signature is legally required from this party | The signature is desirable but not blocking |
You can mix mandatory and optional recipients in the same envelope. In this example, Jane is mandatory but Alex is optional — if Alex declines, the envelope can still complete:
"recipients": [
{
"referenceSignerId": 1,
"name": "Jane Smith",
"email": "jane@example.com",
"role": "signer",
"mandatory": true
},
{
"referenceSignerId": 2,
"name": "Alex Brown",
"email": "alex@example.com",
"role": "signer",
"mandatory": false
}
]A recipient with role: "viewer" views the documents and can leave comments but signs nothing — useful when a stakeholder needs visibility without a signature obligation. The viewer role must be included in your subscription. A cc recipient receives a copy of the completed envelope by email and takes no action:
{
"referenceSignerId": 3,
"name": "Legal Team",
"email": "legal@example.com",
"role": "viewer",
"mandatory": false
}A sign group defines one position in the envelope that any member can fulfil. Fields assigned to the group can be completed by any member, and once one member has signed, the group's requirement is met and the audit trail records Envelope sign group completed. This is useful when the specific signer isn't known in advance, or when any authorised representative from a team can sign on its behalf.
Groups are defined in a top-level signGroups array. Each group needs a referenceSignGroupId, a unique name and a role; mandatory and signOrder belong on the group too. Recipients join the group via referenceSignGroupId, and fields are assigned to it via referenceSignGroupId instead of referenceSignerId:
{
"recipients": [
{
"referenceSignerId": 1,
"referenceSignGroupId": 1,
"name": "Jane Smith",
"email": "jane@example.com"
},
{
"referenceSignerId": 2,
"referenceSignGroupId": 1,
"name": "John Doe",
"email": "john@example.com"
},
{
"referenceSignerId": 3,
"name": "Maria Garcia",
"email": "maria@example.com",
"role": "signer",
"signOrder": 2,
"mandatory": true
}
],
"signGroups": [
{
"referenceSignGroupId": 1,
"name": "Finance approvers",
"role": "signer",
"signOrder": 1,
"mandatory": true
}
],
"fields": [
{
"type": "signature",
"name": "signature_finance",
"referenceDocumentId": 1,
"referenceSignGroupId": 1,
"isRequired": true,
"page": 1,
"positionX": 100,
"positionY": 650,
"width": 200,
"height": 60
},
{
"type": "signature",
"name": "signature_maria",
"referenceDocumentId": 1,
"referenceSignerId": 3,
"isRequired": true,
"page": 1,
"positionX": 350,
"positionY": 650,
"width": 200,
"height": 60
}
],
"envelope": {
"isSignOrder": true,
...
}
}In this example, Jane and John are both members of "Finance approvers", which is first in the order. Both are notified at the same time when the envelope is sent; whichever one signs completes the group's requirement, and Maria is notified next.
For a recipient in a group, the group's
role,signOrderandmandatoryapply. Each member still needs its ownnameandlanguage,isMfaEnabledandexternalContext. A field, unlike a recipient, must have exactly one owner:referenceSignerIdorreferenceSignGroupId, never both.
Validation failures return 400 with the specific problem in error.innerErrors[].code. See Error Handling, and the recipient and sign group schema in the API Reference.