I am using DocuSign clickWrap API to download completed clickwraps;
I am able to download the completed clickwrap only - not able to find a way to download the completion certificate as part of the clickwrap response (like we have in the web UI)... there is no option in the API document for getAgreementPdf either
You can download the certificate through the
getAgreementPdf
endpoint by appending the query parameter:include_coc=true
. This seems to be missing from the live documentation, but is present in the Swagger spec.Full example:
The agreement ID can be found either through the callback of
onAgreed
:Or through a POST to
createHasAgreed
with the sameclientUserId
.