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:
-
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.
-
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
.
-
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.
- 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.