JackHillman | Posts: 19

Unzip downloaded files

0 votes
Is it possible to download a completed package in a normal folder (not zipped)? If not, can they be unzipped pragmatically after download? Thanks Jack

mwilliams | Posts: 957

Reply to: Unzip downloaded files

0 votes
Hey Jack, If you download the documents individually, they don't come in a zip file. Are you downloading with the API or one of the SDKs or are you using the UI to download? To download with the REST API, you'd make a call like this:
HTTP Request
GET https://sandbox.esignlive.com/api/packages/{packageId}/documents/{documentId}/pdf

HTTP Headers
Accept: application/pdf
Content-Type: application/json
Authorization: Basic api_key
There are similar options with the SDK that you can see in the Document Retrieval guide. As for unzipping a zip file programmatically once you have downloaded the zip file on your end, of course you can do this. You can find a guide elsewhere on the internet for your programming language with a quick Google search. Hope this helps.

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off