Upload a document
Request a presigned upload URL for a document. Upload the file directly to the returned URL, then pass the document_id when creating a signing request. Use this for documents larger than 5MB that exceed the inline base64 request size limit.
Authorizations
API key for authentication. Use your API key directly without any prefix (e.g., 'your-api-key'). Bearer prefix is optional but not required.
Body
Name of the document file
255"contract.pdf"
File size in bytes. Maximum 50MB (52,428,800 bytes).
1 <= x <= 5242880015000000
MIME type of the document
application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document "application/pdf"
Response
Upload URL created
Document ID to pass in the signing request
Presigned URL to PUT the document file to. Send the raw file bytes with Content-Type matching the requested content_type.
Upload authentication token (included in the upload_url)
Seconds until the upload URL expires
3600