Webhook Notification Payload
The webhook notification that Visier sends to your registered endpoint contains authentication details and JSON content describing the event, such as job IDs and data version numbers.
Overview
When the configured event type occurs, Visier sends an API request to your registered endpoint. The API request payload contains authentication details and JSON content describing the event, such as job IDs and data version numbers.
Webhook notifications from Visier contain the following headers:
Authorization(optional): If you providedcredentialsfor the webhook, Visier sends the Authorization header to authenticate against the receiving entity.x-visier-signature: An HMAC signature generated from the providedkeyNamefor the webhook.
Webhook notification for job success, failure, and reschedule events contain the following job ID fields:
jobId: The job that triggered the webhook notification.rootJobId: The top-level job that eventually spawned the job that triggered the webhook notification.parentJobId: The parent job of the job that triggered the webhook notification.
Example: Let's say Receiving Job A spawned Processing Job B. Processing Job B spawned Processing Job C. Processing Job C triggered the webhook notification. In this example:
jobIdis Processing Job C.rootJobIdis Receiving Job A.parentJobIdis Processing Job B.
For more information about jobs, see Jobs.
Alert notification payload
The following code sample is an example of the API payload for an alertNotification event type notification. For more information about alerts, see Personalized Alerts.
{
"timestamp": "1755538611507",
"eventId": "d8cd0c56-c636-398e-85fb-2ec6b1d2e61a",
"eventType": "ALERT_NOTIFICATION",
"event": {
"recipientId": "e7401580-7732-0c4b-a8f2-36de300fb3bb",
"tenantCode": "WFF_j1r~c7o",
"alertNotificationId": "d8cd0c56-c636-398e-85fb-2ec6b1d2e61a",
"alertId": "ec4cb8f0-7c59-11f0-ac46-9bf4baec3b09",
"createdDate": "1755538611507",
"alertDetails": {
"triggerType": "DV_UPDATE",
"triggerCriteria": {
"groupedMetricValueThreshold": {
"metric": {
"id": "employeeCount",
"timeHandling": {
"perPeriod": true
}
},
"relativeTimePeriod": {
"allowPartialPeriod": true,
"periodCount": 1
},
"ruleSet": {
"compareTo": {
"noComparison": {}
},
"rules": [
{
"relativeToValueRule": {
"rulePredicate": "GREATER_THAN",
"comparand": 3
}
}
]
}
}
}
}
}
}
Job result success payload
The following code sample is an example of the API payload for a jobResultSuccess event type notification.
{
"timestamp": "1743718453610",
"eventId": "c0c91580-ce09-40fd-8f84-39d8578c704b",
"eventType": "jobResultSuccess",
"event": {
"jobid": "00000000-0000-0000-0000-000000000000",
"rootJobId": "00000000-0000-0000-0000-000000000000",
"parentJobId": "00000000-0000-0000-0000-000000000000",
"tenantCode": "WFF_j1r",
"jobType": "",
"dataCategoryId": "00000000-0000-0000-0000-000000000000",
"dataVersion": ""
}
}
Job result failure payload
The following code sample is an example of the API payload for a jobResultFailure event type notification.
{
"timestamp": "1743718453610",
"eventId": "c0c91580-ce09-40fd-8f84-39d8578c704b",
"eventType": "jobResultFailure",
"event": {
"jobid": "00000000-0000-0000-0000-000000000000",
"rootJobId": "00000000-0000-0000-0000-000000000000",
"parentJobId": "00000000-0000-0000-0000-000000000000",
"tenantCode": "WFF_j1r",
"jobType": "",
"dataCategoryId": "00000000-0000-0000-0000-000000000000",
"dataVersion": "",
"message": ""
}
}
Job result rescheduled payload
The following code sample is an example of the API payload for a jobResultRescheduled event type notification.
{
"timestamp": "1743718453610",
"eventId": "c0c91580-ce09-40fd-8f84-39d8578c704b",
"eventType": "jobResultRescheduled",
"event": {
"jobid": "00000000-0000-0000-0000-000000000000",
"rootJobId": "00000000-0000-0000-0000-000000000000",
"parentJobId": "00000000-0000-0000-0000-000000000000",
"tenantCode": "WFF_j1r",
"jobType": "",
"dataCategoryId": "00000000-0000-0000-0000-000000000000"
}
}
Data version publish payload
The following code sample is an example of the API payload for a dvPublish event type notification.
{
"timestamp": "1743718453610",
"eventId": "c0c91580-ce09-40fd-8f84-39d8578c704b",
"eventType": "dvPublish",
"event": {
"tenantCode": "WFF_j1r",
"dataCategoryId": "00000000-0000-0000-0000-000000000000",
"dataVersion": ""
}
}
Smart Compensation notification payload
The following code sample is an example of the API payload for a smartCompNotification event type notification
{
"timestamp": "1743718453610",
"eventId": "c0c91580-ce09-40fd-8f84-39d8578c704b",
"eventType": "smartCompNotification",
"event": {
"url": "/task/00000000-0000-0000-0000-000000000000",
"username": "john@jupiter.com",
"userId": "00000000-0000-0000-0000-000000000000",
"tenantCode": "WFF_j1r",
"header": "A task has been assigned",
"body": "Please complete your task"
}
}
Data upload notification payload
The following code sample is an example of the API payload for a dataUploadNotification event type notification.
{
"timestamp": "1762213635858",
"eventId": "56f43763-169c-43a9-a677-6b53957d454d",
"eventType": "DATA_UPLOAD_NOTIFICATION",
"event": {
"tenant": "WFF_j1r",
"jobId": "0f73e8e2-dd00-44d4-894f-e820606fd2ea",
"uploads": [
"j1r_payload.zip"
]
}
}
