Copy link to clipboard
Copied
Hi,
I use Adobe Sign REST APIs v6, I added the callback URL in the following format:
POST - https://api.na2.echosign.com/api/rest/v6/agreements
{
"fileInfos": [{
"transientDocumentId": "<the-transient-document-id>"
}],
"name": "Redirect 2",
"participantSetsInfo": [{
"memberInfos": [{
"email": "<xxx@yyy.com>"
}],
"order": 1,
"role": "SIGNER"
}],
"postSignOptions" : {
"redirectDelay":1,
"redirectUrl" : "https://www.google.co.in/"
},
"signatureType": "ESIGN",
"state": "IN_PROCESS"
}
Did I miss anything which is causing me the issue which is why there is no redirection on completion of user signing?
1 Correct answer
It should be ​postSignOption ​not ​postSignOptions
Copy link to clipboard
Copied
It should be ​postSignOption ​not ​postSignOptions
Copy link to clipboard
Copied
Hello
When i am using postSignOption - the redirection is happening only in those scenarios where the user signs the document. If the user chooses to decline to sign the document, the redirection is not happening.
Can anybody help me with this -- how to redirect to a public url in decline cases.
Copy link to clipboard
Copied
i think you are missing "failureRedirectUrl" in postSignOptions add it and try it may work.. see below snippet.
"postSignOptions": {
"redirectUrl": "https://www.google.co.in/", // Redirect on success
"failureRedirectUrl": "https://www.yahoo.com/", // Redirect on decline
"redirectDelay": 1
}

