Reputation: 831
I am using an embedded view. When the user clicks finish I would like to be able to programmatically grab the History and Certificate of Completion so we can store the documents in our system.
Is there anyway of achieving this?
Upvotes: 1
Views: 1786
Reputation: 7393
Use the listAuditEvents api to get the envelope history.
GET /v2/accounts/{accountId}/envelopes/{envelopeId}/audit_events
Use the getEnvelopeDocuments api to download the certificate of completion.
Pass certificate
as the documentId.
GET /v2/accounts/{accountId}/envelopes/{envelopeId}/documents/certificate
See this answer for the c# code
Upvotes: 6