add_document_to_signature_request
Attach a document to a signature request as the first step of a two-step upload. Provide filename, title, hash, and signature type to prepare it for signatory signing.
Instructions
Adds a document to a signature request — the first step of a 2-step upload (add, then PUT the file bytes to the returned upload URL). Use once per document that needs signing. Requires: create_signature_request → signatureRequestId, and the document's SHA-256 hash (compute it before calling, or use the signature_request_full composite tool). Add signatories with add_signatory_to_document before activating. Signature type: INTERPOSITION = EAD Factory mediates the signing act on the signatory's behalf (e.g. an OTP sent via WhatsApp/SMS) — the signatory needs no software or certificate. | ADVANCED = Advanced electronic signature — the signatory signs directly (signing pad or certificate); a stronger legal tier than INTERPOSITION. | OTHER = A signature type not covered by INTERPOSITION or ADVANCED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | ||
| title | Yes | ||
| detached | No | ||
| fileSize | No | ||
| filename | Yes | ||
| metadata | No | ||
| provider | No | ||
| sequence | No | ||
| evidenceId | No | MANDATORY. UUID of the evidence record. Obtain from evidence_group_evidence_register or generate_evidence. | |
| description | No | ||
| convertToPdf | No | ||
| signatureType | Yes | ||
| certificateFiles | No | ||
| signatureDeadline | No | ||
| signatureRequestId | Yes | MANDATORY. UUID of the signature request. Obtain from create_signature_request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| url | No | ||
| expiration | No |