create_contract
Generates an e-signature contract from HTML or PDF, returns a shareable signing URL, and can email signing links to designated signers.
Instructions
Create a new contract for signing, either from HTML content or from a PDF file. Returns a signing URL that can be shared with signers, and can e-mail a link of their own to individual signers (signers). Give exactly one of content (HTML) or document (a PDF).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional tags for organization (e.g., ["business", "2024"]) | |
| title | Yes | Title of the contract | |
| content | No | HTML content of the contract. Signature fields are appended below it as a block; coordinates are not accepted with HTML. | |
| signers | No | Optional: send a signer a signing link of their own by e-mail. The link opens only the fields of that label, and the audit certificate records the address as "link delivered to". Signers without an email keep using the shared signUrl, so one party can sign by link and another in the same room. Links go out once the contract is ready for signing. At most 5 sends per signer in 24 hours. | |
| document | No | Your own PDF instead of HTML content. Signature fields are then placed on its pages by coordinates. Up to 3 MB. | |
| finalize | No | If true, the contract will be finalized and ready for signing. If false, it will be saved as a draft. | |
| language | No | Language of the signing page, e-mails and audit certificate (default: en) | |
| attachments | No | Extra forms appended to the signed PDF, for example the German housing cooperative sublet registration. Call list_attachment_types first to learn which types exist and which fields each one needs. | |
| signatureFields | No | Signature fields, one per signature to collect. Fields with the same label belong to the same signer. With a `document`, x and y are required and position the field; with HTML content, only `label` is allowed. |