Files
Upload
POST
Upload
Upload one or more files to be signed. Save the returned
fileId or externalId for use in future API requests.
Request
- PDF
- DOCX
- UTF-8
Request
Query parameters
| Value | Description |
|---|---|
| temporary | The file will be stored temporarily and deleted if not added to a package within 24 hours. |
Provide an external ID that can be used to reference the file.This
externalId will be stored with the document during packages/add request. It will then be included in future:packages/statusrequestsdocumentwebhook events
Response
List of uploaded files with their statuses.
Errors
PDF Error: PDF header not found.If a
PDF Error: PDF header not found. error is returned, make sure you
are sending the file as binary data.Notes
Encoding filename using UTF-8Replace filename (ISO-8859-1) in Content-Disposition header with filename*=UTF-8”
- Place two separate single quotes after the UTF-8, not one double quote.
- You must URL Encode the filename to escape the UTF-8 characters and any whitespaces.
- Do not wrap the encoded filename with double quotes.
- Do not add a semicolon after the encoded filename.
filename*=UTF-8''r%C3%A9sum%C3%A9.pdfFor more information, refer to RFC 5987Upload