Upload Document for Signing
Last updated
Before a document can be sent for signing, it must first be uploaded to Evia Sign. This step ensures the document is securely stored and available within the signing environment.
POST /_apis/sign/thumbs/api/v2/requests/document
This URL is used to upload a PDF file to Evia Sign before initiating any signing process. Once uploaded, the system returns a documentToken that must be used when creating a signature request. The document is stored securely and becomes available for further workflow actions such as assigning signatories or setting stamps.
This request must be authenticated using a valid access_token. You obtain this token through the OAuth flow, and it must be included in the request header.
Authorization
Bearer access_token
OAuth 2.0 token obtained during authentication
Content-Type
multipart/form-data
Must be set to multipart/form-data to allow file upload.
This API expects a binary PDF file to be attached using the form field name File. You do not need to send any additional parameters in the body.
File
✅ Yes
The document you want to send for signing.
A unique documentToken will be returned for the uploaded document. This token is used in the Documents array when initiating a signature request.
What is documentToken?
This is the unique reference ID for the uploaded file. You do not reupload the document during signature creation. Instead, you send this token to link your signature request with the uploaded file.
400
Allowed extensions are PDF, DOC, DOCX
The uploaded file was not a PDF, or the form field key was incorrect.
401
Unauthorized
The access_token was missing or expired
Last updated
{
"documentToken": "abc123-token"
}