Search code examples
javascripttypescriptdocusignapi

Generate the DocuSign envelope link for tracking purposes while sending it via email


I am embedding the DocuSign into my application and want to request a signature by email. More information about remote signature implementation can be found here: https://developers.docusign.com/docs/esign-rest-api/how-to/request-signature-email-remote/

For the email notifications I exclude the clientUserId property. Then DocuSign sends email notifications containing a link for the recipient to access and sign the documents via the DocuSign web interface.

The question is how I can get this remote envelope link to be able to track the envelope status?


Solution

  • Best way to do this is using DocuSign Connect, which is a webhook which can be used to get status updates for envelopes.

    This has to be set either account-wide, or per-envelope with event notifications.

    You will need to set a listener on your server to get these events, there are code example showing how to do this when you use AWS and Java:

    https://github.com/docusign/connect-java-worker-aws