Copy link to clipboard
Copied
I have been able to create agreements through the API, email notifications work when the status changes, but I have had no luck getting the callback to work
Here is an example of a request as received by Adobe Sign
Metadata
content-length : 765
method : POST
requestUrl : rest/v5/agreements
host : api.au1.echosign.com
content-type : application/json
access-token : ***
accept-encoding : gzip, deflate
original-path : /rest/v5/agreements
accept : application/json, application/xml, text/json, text/x-json, text/javascript, text/xml
user-agent : RestSharp/105.2.3.0
Body
{
"documentCreationInfo": {
"recipientSetInfos": [{
"recipientSetRole": "SIGNER",
"recipientSetMemberInfos": [{
"email": "testuser@***.com"
}]
}],
"signatureFlow": "SENDER_SIGNATURE_NOT_REQUIRED",
"name": "Adobe Sign Web Service",
"signatureType": "ESIGN",
"callbackInfo": "https://requestb.in/14ultkz1",
"externalId": {
"id": "853EE0F059864DE99B80BF442F711711"
},
"fileInfos": [{
"transientDocumentId": "***"
}]
}
}
Which successfully creates an agreeement, however the callback url is never being hit. Am I missing something from my request to subscribe to specific events? How can I find out why it isn't working?
Copy link to clipboard
Copied
Is anyone able to help with this?
Copy link to clipboard
Copied
Maybe it will be helpful for someone: it seems doesn't send requests to https://requestb.in/ - I had the same problem trying to debug using this service. Once I specified handler hosted on my own server it started to work.