Hello
The Sender View Preview URL generated through the DocuSign API is a temporary, one-time-use URL that is unique every time it is created. These URLs typically expire after five minutes or as soon as they are accessed. Therefore, it is not recommended to retain the generated URL until the envelope is sent, as it may expire before being used. The best practice is to generate the Sender View URL only when the sender is ready to access the envelope for preview or editing. Since the URL is intended for immediate use, it should not be stored or reused .
https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopeviews/createsender/
Thankyou
Sai
hi @Sai.Dandamudi I have additional question.
I opened this preview url in an iframe within same window. Can I receive messages on my window where I opened an Iframe within my app. pI dont want create a seperate page to handle the redirect and then create a postmessage to window.parent as suggested in the docs]
I opened this generated preview url and plugged into an iframe. Also registered for window.addeventListener(“message”, handler) in my component where I am setting preview Url. I was hoping I would receive different messages like envelope “sent” event and other events but this doesnt seem to work.
Would you help me with the best practise.
I also came across this doc mentioning docusign js which is what I was inferring when talking above. But this doesnt seem to work for SenderView ?