Review Documents
Friday, June 3, 2022 at 12:58amHello Duo,
We are designing a multi step form for document signing process. My question is just as in onespan, whenever the signing is completed by all the recipient, there is the option of reviewing the documents as well as downloading it.
We also want to implement the same functionality, in the final step after the document has been signed or the transaction status has been completed, show the user the option of reviewing as well as downloading it. I have found the end point for downloading the zip documents and it is working fine but couldn't find the end point for showing the same signed documents to the users instead of downloading it.
Can you please help me on this ?
Thanks,
Bikram
Reply to: Review Documents
Friday, June 3, 2022 at 08:22amHi Bikram,
In this case, you can download each individual document in PDF format:
GET /api/packages/{packageId}/documents/{documentId}/pdf
And render the file with any HTML PDF Viewer library of your choice.
PS: We used to allow downloading the flattened PDF pages via this API (GET /api/packages/{packageId}/documents/{documentId}/pages/{index}), but it seems it's no longer working now.
Duo