trevorewen | Posts: 43

Documents W/ No Password

0 votes
Hi - I am using the document retrieval URL. (/packages/:packageId/document/:documentId/pdf) When I receive the PDF on my end, the document is password protected. Is there a way to turn this off? I assume this would happen at the point of package creation. Thanks

mwilliams | Posts: 957

Reply to: Documents W/ No Password

0 votes
Hey Trevor, The document is locked so that no changes can be made to the document (which would void the signatures). What are you trying to do with the document where you need it unlocked?

trevorewen | Posts: 43

Reply to: Documents W/ No Password

0 votes
Our application has download links for the signed documents. This feature is only available to our administrators (although you would have no way of knowing that). There they are able to download any of the documents that have been signed within the last 60 days. I don't really mind the password if it's required for the signature, but what is the default password set to, is our E-Sign password, or specific to the package itself? Thanks

mwilliams | Posts: 957

Reply to: Documents W/ No Password

0 votes
I don't know that the password is attainable. I'll have to look into it, but I think the point of it is the tamper seal on the document. If you were to unlock it, it would invalidate the signatures as that would possibly be seen as tampering. What would be the purpose of unlocking them?

trevorewen | Posts: 43

Reply to: Documents W/ No Password

0 votes
So, if I got into the admin, look at a signed document and click download (attached image). I can get a copy of a contract with the signatures visible. That's really what we're looking for. Just an automated way to collect and archived these flattened, signed, documents.

mwilliams | Posts: 957

Reply to: Documents W/ No Password

0 votes
Yes. Once the package is "COMPLETED", you can download a signed copy of the document. This can be done through the UI or the API. The way to automate this would be one of two ways: 1. Set up a callback listener and sign up for notifications from eSignLive when packages are completed. You'll receive a POST request with a payload that includes the packageId. With this, you can then download the documents from the package and store them wherever you'd like. 2. Create a program to run at midnight or something, each night, that grabs the COMPLETED packages from the last 24 hours. This would return you the page(s) of packages that went to COMPLETED status in the last 24 hours. From there, again, you'd download the documents and place them wherever you'd like. Which you choose would just depend on whether you need the documents immediately or are okay with getting them once (or twice or whatever interval you choose) a day. Hopefully this answers your question. Let me know! :)

trevorewen | Posts: 43

Reply to: Documents W/ No Password

0 votes
For the #2 option, what would the api endpoint be? I would assume this is the same one I am using (/packages/:packageId/document/:documentId/pdf). Thanks

mwilliams | Posts: 957

Reply to: Documents W/ No Password

0 votes
The endpoint to download would be the same for both. You'd make one more call before that would query for the listing of COMPLETED packages within the past 24 hours. From there, you'd call the endpoint you have stated or you could download a zip file of all the documents. You'd probably also want to download the evidence summary for archiving. The call you'd make to get a listing of the completed packages would be on this doc page: http://docs.esignlive.com/content/c_integrator_s_guide/rest_api/packages.htm See the retrieving a list of packages call. Note the different parameters to narrow the package list to the ones you want.

trevorewen | Posts: 43

Reply to: Documents W/ No Password

0 votes
Yes, so I am already asking for the completed packages, and then determining the doc ids I want. That brings me back where we started, when I retrieve the PDF itself, it's password protected. Would the zipped directory behave differently? - T

mwilliams | Posts: 957

Reply to: Documents W/ No Password

0 votes
Exactly. The documents cannot be unlocked as they are tamper sealed so that nobody will change them. There should be no need to unlock the document. Am I missing something?

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