I am working on a PoC for Integration with Docusign and using Embedded Signing with Focussed View because we have our website and don’t want Admins to go out of application context.
I have 2 options to display the document to end user
- Load the document in the same application window by loading DocusignJS and passing it RecipientViewURL and ClientId.
- Cross Launch the RecipientViewUrl obtained by making CreateEnvelope and CreateRecipientView API calls.
For my integration, I am making Docusign eSignature API calls from a backend service and passing on the URL to the frontend portal.
I am also working on using Connect APIs to receive a callback when Envelope event is raised (completed, voided and declined).
I want to understand
- What event is raised when the enduser views the Document but
- Does not perform any action and the URL expires.
- Close the browser without taking any action
- If there’s no connect event raised, how can we handle the case when end user performs above actions and take appropriate actions.
I believe the Envelope expiry is 120 days by default but the generated URL is one time view and TTL is 5 mins.
Does the TTL (5 mins) for generated RecipientView URL start immediately after it is created or after it is opened?