Send Envelope for Signature
send_envelopeCreate a new envelope from PDF files. Use send_draft for an existing draft or send_from_template for a saved template. For one PDF, provide either document_base64 or a public HTTPS document_url (max 10MB).
By default (auto_send=true), send immediately for legally binding signature. An immediate send normally costs 1 credit and requires recipients, e.g. [{"name": "...", "email": "...", "role": "signer"}]. Match recipient roles to the signing-field parties. Set send_invite=false to suppress invitations; signing links are still returned. Set send_completion_email=false separately to suppress signer completion emails. Poll get_envelope_status for progress.
Set draft=true or auto_send=false to save without sending. recipients are optional in draft mode; no credits are debited and no invitations go out. draft=true takes precedence. Use the returned document_id with send_draft when ready, or send from the dashboard.
Immediate send: the PDF is REJECTED unless it contains signing-field placeholder tags. For an untagged PDF (no zSign field tags), call prepare_document first to place the fields, call it again with that prepare_id and approve true when the response has no PDF, then send the pdf_base64 it returns as document_base64. Draft mode accepts an untagged PDF (human places fields) or optional fields.
zSign field placeholder syntax:
Format: {type:party:name} -- add * after the type to mark the field required, e.g. {signature*:signer}
On upload, a tag or PDF form field with no explicit required marker is required when the account's fields_required_by_default is true (the default) and optional when it is false; a * is always required. A JSON field list stores the required boolean you send (default false) and does not apply this setting.
Types: signature, initials, text, date, radio
party must exactly match the recipient's "role" value passed when sending (MCP default role is "signer")
name is optional for signature/initials/date and REQUIRED for text fields; letters, digits, and underscores only
radio fields take FOUR parts: {radio:party:group:option}. Every tag sharing a party and group forms one exclusive set -- the signer picks exactly one, and the chosen option is the value reported back. Mark the set required with {radio*:...} on any of its tags. group is letters/digits/underscores; option may also contain spaces and hyphens
radio tags must be visible text in the PDF body -- they cannot be the name of a PDF form field
The signer sees each radio option's value as the caption beside its button, but the completed document only marks the chosen button -- print your own label next to each radio tag so the executed copy shows what each button means
Keep each tag on a single line in a standard font -- a tag split across lines is not detected
The tag's position in the document becomes the field's position; the signed value is drawn over it, and the tag itself is deleted when you upload -- signers never see it, and it is not in the completed document
Tags can be visible text in the PDF body, or the name of a PDF form field / annotation (except radio, which must be visible text) Examples: {signature*:signer}, {initials:signer}, {text*:signer:full_name}, {date:signer:signed_on} Radio (visible text only): {radio*:signer:plan:Option 1}, {radio*:signer:plan:Option 2} Sample PDF: https://storage.googleapis.com/zsign-public/simple_contract_1.pdf Docs: https://zsign.io/docs/api
metadata is an optional flat object of string keys/values (max 50 keys) echoed back in every webhook for this envelope -- use it to carry your own record ids. Set revision_of to the source document_id to use its one-time free resend after changes are requested while the promotion is enabled.
sequential (default true): recipients sign one at a time in list order. Set false so everyone can sign at once. Same flag as REST POST /api/v1/documents/send sequential.
documents: list of {filename, document_base64 | document_url, name?} to send several PDFs as ONE envelope (one credit, shared recipients, one signing link per signer; at most 10). Mutually exclusive with document_base64/document_url. An encrypted or password-protected PDF is a 422 with code pdf_encrypted and is not charged. Requires envelopes:send access.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "send_envelope"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| draft | No | ||
| fields | No | ||
| prefill | No | ||
| filename | No | document.pdf | |
| metadata | No | ||
| auto_send | No | ||
| documents | No | ||
| recipients | No | ||
| sequential | No | ||
| send_invite | No | ||
| document_url | No | ||
| document_base64 | No | ||
| send_completion_email | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |