Update Draft
update_draftUpdate an existing draft. The draft must still have status draft. This is a full draft configuration update: include the complete signeeDetails list you want to keep, because signees not included may be removed. fileId is optional; if omitted, the draft keeps its current file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Updated human-readable draft title that will be visible to signees when sent. If deriving from an uploaded PDF filename, strip the file extension (e.g. 'contract.pdf' → 'contract') unless the user explicitly wants the extension. | |
| fields | No | Complete desired pre-filled form field values for the draft. Use exact field names from get_file_fields. | |
| fileId | No | Optional replacement file ID from upload_file. If omitted, the draft keeps its current file. | |
| userId | No | User ID to assign as draft owner | |
| draftId | Yes | Unique identifier of the draft to update | |
| language | No | Language for the eventual signing invitation | |
| aiAssistant | No | Optional AI assistant that helps signees while reviewing the document. Requires the aiAssistant capability. | |
| signeeDetails | No | Complete desired signee list for the draft. Pass [] to remove all signees. Any existing signees not included may be removed. | |
| sharingSetting | No | Whether the draft is private or shared with other users on the account | |
| personalMessage | No | Optional personal message for the eventual signing invitation. Maximum 500 characters. | |
| enableSigningOrder | No | Enable sequential signing order when the draft is sent | |
| fieldsReadonlyMode | No | Form field read-only mode. Set to 'filled' when pre-filled fields should be locked for signers. |