Documents
Document URL and Upload
Give each document a file URL: upload PDF or DOCX files to the Library or through the API, or link a file on a supported host such as Amazon S3 or Azure.
Every document in an envelope requires a url pointing to a PDF or DOCX file. SignatureAPI downloads the file when the envelope is created.
There are three ways to provide a file URL:
- Upload via the Dashboard
- Upload via the API
- Host it externally on a service like S3 or Azure
Upload via Dashboard
Upload files to your account’s Library in the Dashboard. Library files never expire and can be reused across multiple envelopes. This method works well for recurring documents and templates.
To upload a file, go to the Library tab in the Dashboard.

Click Upload a file or drag and drop your file, then confirm the upload. Click Copy URL to copy the file URL.
Use the URL as the document’s url when you create an envelope:
{
"url": "https://api.signatureapi.com/v1/uploads/upl_1sAAaVfabdt0esVjmSTmLA#agreement-v1",
"format": "pdf"
}Upload via API
To upload a file from your server, use Create Upload: it sends the bytes in a single request and takes files up to 4.5 MB. For a larger file, create an upload URL and PUT the file’s bytes to it. This flow takes files up to your account’s maximum document size.
API uploads are temporary and are deleted 24 hours after creation. To reuse a file, store the upload or upload it to your Library in the Dashboard.
Use the upload’s URL as the document’s url: the url returned by Create Upload, or the reference returned with the upload URL.
{
"url": "https://api.signatureapi.com/v1/uploads/upl_3JJz6t1o8A5YjX5VpnX27Z",
"format": "pdf"
}External Store
You can provide a URL from a supported hosting service. SignatureAPI downloads the file from that location when the envelope is created, so the URL must work without signing in: use a public URL, or a pre-signed or signed URL that is still valid at that moment.
The URL must use HTTPS, be at most 2048 characters long, and have one of these hosts. * stands for one or more characters, such as your bucket or account name.
| Service | Accepted hosts |
|---|---|
| Amazon S3 | *.s3.*.amazonaws.com, *.s3.amazonaws.com, s3.amazonaws.com, s3.*.amazonaws.com |
| AWS CloudFront | *.cloudfront.net |
| Cloudflare R2 | *.r2.dev, *.r2.cloudflarestorage.com |
| Azure Blob Storage | *.blob.core.windows.net |
| Google Cloud Storage | storage.googleapis.com |
| Google Drive | drive.google.com |
| Dropbox | www.dropbox.com |
| Supabase Storage | *.supabase.co |
| Vercel Blob | *.public.blob.vercel-storage.com |
| Convex | *.convex.cloud |
| Bubble | *.cdn.bubble.io |
| SignatureAPI uploads | api.signatureapi.com (the url of an upload) |
For Amazon S3, CloudFront, R2, Azure, Google Cloud Storage and Supabase, pre-signed or signed URLs are recommended. For Google Drive, Dropbox, Vercel, Convex and Bubble, make sure the URL downloads the file itself, not a preview page.
A URL from any other host, including a custom domain in front of one of these services, returns a validation-error. The downloaded file must also fit the document limits: at most 10 MB and 100 pages.
Want support for another source? Contact support.