Returns a URL that enables you to embed the recipient view of the DocuSign UI in your applications. If the recipient is a signer, then the view will provide the signing ceremony.
This method is only used with envelopes in the
Your application is responsible for authenticating the identity of the recipient or signer when you use this method. Use the parameters
securityDomain to record information on how the recipient was authenticated. At a minimum,
clientUserId are required. The information that you provide is included in the envelope's certificate of completion.
After the signer completes or ends the signing ceremony, DocuSign will redirect the user's browser back to your app via the
returnUrl that you supply. DocuSIgn appends an
event query parameter to the URL with the outcome of the signing ceremony. Your app should use the event parameter to determine the next step for the envelope. Don't fetch the envelope's status via Envelopes: get or a similar method; that could break the DocuSign rule against polling.
The URL returned by this method is valid for one use. It must be used/displayed within a couple of minutes after being generated. Once the recipient is redirected to the recipient view, they must interact with the DocuSign system periodically or their session will time out.
Because the URL is time-limited, it should not be stored or sent via email. Immediately redirect the user's browser to the URL after you receive it.
If you want to invite someone to an embedded signing session via email, the email invitation's URL must be to your application. When invoked, your app should request a recipientView URL from DocuSign and then redirect the signer to that URL.
After the recipient completes the recipient view (or signing ceremony), they are redirected to your application. Your application can recover state information about the transaction by storing information in a cookie, or by including query parameters in the
returnUrl field. Eg,
https://myapp.eg.com/docusign_return?myState=12345 When the user is redirected to your app, the
event query parameter will be appended. In this example, prevent spoofing by not using a guessable value as the state value.
The external account number (int) or account ID GUID.
The envelope's GUID.