Webhooks are a way to be notified about specific events in signoSign/Universal. To do this, a URL is specified that is called by signoSign/Universal when an event occurs. The content of each webhook call is a JSON object, which maps the context in which the event occurred, and the amount of information transmitted varies depending on the context. For example, when a user saves a document, no SharingCaseinformation is transmitted. However, if the saving takes place as part of a workflow, the workflow information is transmitted.
In the webhooks section of the settings, you can define a separate URL for each possible event.
Content of webhooks
JSON
{
"Event": {
"TimeStamp": Date as string(yyyy-MM-dd'T'HH:mm:ss.SSSXXX),
"EventType": string,
"Software": {
"Name": "SignoSign/Universal",
"Version": string
},
"User": {
"UserName": string
},
"EventData": {
"Document": {
"DocumentName": string,
"DocumentId": number,
"SignatureFields": number,
"MandatoryFields": number,
"SignedSignatureFields": number,
"SignedMandatoryFields": number,
"FormFields": [
{
"Name": string,
"Value": string,
"Mandatory": boolean
},
]
},
"SharingCase": {
"SharingCaseId": number,
"AccessId": string,
"state": string
},
"Workflow": {
"ProcessId": string
}
}
}
}