nareshishere | Posts: 74

Webhook

0 votes
is there any api to get the status of the signing ceremony like whether the signer signed or not kind of web hook ?

Duo_Liang | Posts: 3776

Reply to: Webhook

0 votes
Hi nareshishere, There're many ways, either to use webhook or actively polling, to know the signing status of a signer. (1) Using a callback listener: When some certain events occur, for example, when a signer has completed signing a transaction, OneSpan Sign creates an JSON object. This object contains all the relevant information, including the type of event and the data associated with that event. OneSpan Sign then sends the JSON object to the URL in your account’s callback notification settings via an HTTP POST request. You can find code examples showcasing you on how to handle the callback from our Create a Callback Event Notification Listener guide. (2)Using Javascript Notifier: If you are embedding your signing ceremony in an iFrame, the child window will send a message to your parent window when some certain events occur (like "ESL:MESSAGE:SUCCESS:SIGNER_COMPLETE"). Check the example code from the JavaScript Event Notifier guide. (3)Active Polling: It is not recommended to actively polling the signing status in order to reduce the server cost. You can find the SDK function from this guide. Duo

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off