Skip to main content

Hi,

I'm working on an Docusign integration using the embedded flow and one of the requirements is after the user signs the document we capture the timestamp of the signature. After reading some of the docs and going through the code samples, there's still something not really making sense to me. How can I fetch the signing metadata after the user is redirected back to my application? I ran the code sample but the only parameter I get is a `signing_complete` event in the query string. I was expecting to get an "envelopeId" as one of the query string parameters so that I could use this parameter to issue a request to the EnvelopeRecipients:list endpoint.

Hello Marcos,

When the user is redirected back to your application after signing, you typically receive a signing_complete event in the query string. However, you should also be able to get the envelopeId in the query string parameters. If it’s not appearing, there might be a configuration issue.

Here are the steps to ensure you can fetch the signing metadata:

  1. Check Redirect URL Configuration: Ensure that your redirect URL is correctly configured in the DocuSign settings. The envelopeId should be included in the query string parameters when the user is redirected back to your application.

  2. Capture Query String Parameters: When the user is redirected back, capture all the query string parameters. You should see something like ?event=signing_complete&envelopeId=YOUR_ENVELOPE_ID.

  3. Fetch Envelope Details: Once you have the envelopeId, you can use it to make a request to the DocuSign API to fetch the envelope details, including the signing metadata. You can use the Envelopes:get endpoint to retrieve the envelope’s status and other details.

  4. Retrieve Signing Timestamp: The signing timestamp can be found in the envelope details. Look for the completedDateTime field in the response from the Envelopes:get endpoint.

 

Thank you so much and if you need any help you can raise a support case anytime at https://support.docusign.com 


I suggest you use DocuSign connect, it can callback  your system and push the metadata for your system. You can reference this documents:

https://developers.docusign.com/platform/webhooks/connect/

 

FreeLink/甫连信息

🌍 DocuSign Partner | Partner Profile

🏆 DocuSign 2024 APAC Reseller Growth Partner of the Year

🌟 The only DocuSign Partner globally certified as both a Certified eSignature Administrator and eSignature Technical Consultant.

📊 DocuSign Community Leaderboard Top 5 contributor.

🚀 Expertise in DocuSign integrations with on-premises systems for leading enterprises across various industries.

 

Feel free to reach out for collaboration opportunities.


Reply