Create Draft
create_draftCreate a draft document without sending invitations. Requires fileId from upload_file; templates are not supported for drafts. Signee details, contact methods, signature type, and signature coordinates are optional while drafting. Full validation occurs only when send_draft is called. Call get_file_fields after upload_file if the PDF has form fields that should be pre-filled and saved in the draft. The draft name will become visible to signees when the draft is sent, so it should be a clear, human-readable title, not the uploaded filename. If deriving it from a PDF filename, strip the file extension unless the user explicitly wants to keep it. PREVIEW USE CASE: drafts are the recommended way to preview an uploaded document before sending. When the user wants to verify that signature fields, ID scan placeholders, or pre-filled values look correct, build the full configuration here, call get_draft_file_url to retrieve a one-time PDF preview, let the user verify (and adjust via update_draft if needed), then call send_draft to send.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 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 | Optional form fields to pre-fill and save in the draft. Use exact field names from get_file_fields. | |
| fileId | Yes | File ID from upload_file. Required for drafts; templateId is not supported. | |
| userId | No | User ID to assign as draft owner. Defaults to the authenticated user. | |
| 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 | Optional list of signees to save in the draft. Entries may be incomplete during the draft phase; fullName and a contact method are required before sending. | |
| 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 (requires signingOrder capability) | |
| fieldsReadonlyMode | No | Form field read-only mode. Set to 'filled' when providing pre-filled values that should be locked for signers. |