Revise Envelope
revise_envelopeCopy an envelope the signer requested changes on into a new unsent
Draft: same documents, fields, recipients and public metadata, plus
metadata.revision_of set to the source document_id. Wraps
POST /api/v1/documents/{document_id}/revise. Costs no credit. Read the
signer's comments with get_envelope_status, edit the Draft with
update_draft / add_document_to_draft, then call
send_draft(document_id=<the new draft's document_id>): revision_of is
carried, so the first qualifying revision is free while the promotion
is enabled. Errors: 404 if the envelope is missing or in another org;
409 not_changes_requested unless its newest session was declined with
a change request. Not idempotent: each call creates another Draft.
Requires Authorization: Bearer zs_....
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"document_id": "<document_id>"
},
"name": "revise_envelope"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |