简体   繁体   中英

How to Send file of any format to Docusign using docusign Api

I have a requirement to attach file of any format and create the Docusign Envelope,currently i am able to attach only pdf files , How can i attach file of any format and create the envelope ?.

Thanks for the help.

If you are using the DocuSign Website you can upload different types of documents through the file upload button.

If you are using the DocuSign REST API and sending raw API requests and constructing your own JSON you can make a multipart/form-data POST request with the appropriate header set based on the file type you are sending. For instance, if sending a .docx file you need to set the Content-Type header to application/vnd.openxmlformats-officedocument.wordprocessingml.document . You can test this through the API Explorer , and here is the corresponding REST API call .

Lastly, if you are using the open source DocuSign API clients such as the DocuSign-Java-Client you should be able to simply provide the path to the file you want signed then just set the fileExtension property within the documents node of your request.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM