Upload document
upload_documentAdd a PDF document to an existing signature transaction by providing the file as base64, a public URL, or a pre-uploaded token.
Instructions
Upload a base64-encoded PDF to an existing transaction (≤10MB inline; use presign for larger).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| documentUrl | No | Direct, public HTTPS link to the PDF (≤10MB) — server fetches it (not a Google Drive /view or private link). | |
| uploadToken | No | Token from request_document_upload after the user uploaded the PDF. Provide one of documentBase64 / documentUrl / uploadToken. | |
| transactionId | Yes | Transaction to attach the document to (txn_…). | |
| documentBase64 | No | Base64-encoded PDF (≤10MB). |