Simon
Simon

Reputation: 1041

Programmatically Approve DocuSign document

Soon after my user signs a DocuSign envelope, I want to be able to quickly approve or deny it. Referring to this SO question and this forum post, I've added myself as a Signer (as well as the Sender, I suppose) and created an Approve tag for my role.

This works fine, but since the circumstances in which I want to reject/void a given document are both rare and trivial to check, I'd rather not approve them manually. I see that there's a way to void the envelope via the API, but how can I approve it via the API? Or is there some better way to accomplish this whole thing?

Upvotes: 6

Views: 736

Answers (1)

Simon
Simon

Reputation: 1041

My current best solution is to delete myself as a Recipient of the envelope, if I want to Approve it (there is a way to do this via the API). Then, assuming my user already signed it, the envelope will mark itself as completed.

Upvotes: 1

Related Questions