upload_document
Upload a local file to SignaTrust and receive a document ID for creating an envelope. Supports PDF, DOCX, and images with automatic MIME type detection.
Instructions
Upload a local file to SignaTrust and return a document ID suitable for passing to create_envelope. Reads the file from disk, requests a pre-signed S3 upload URL, streams the bytes, and returns metadata. Supported: PDF (recommended), DOCX, images. Max size is enforced by your plan's limits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the file on the local filesystem | |
| name | No | Display name for the document (default: the file's basename) | |
| contentType | No | MIME type (default: inferred from the file extension — .pdf, .docx, .png, .jpg, .jpeg are recognised) |