Using Delve WebHooks (Reporting)

This article summarizes the webhooks that exists for certain Delve API calls (Reporting)

Webhooks allow API integrators to be notified of certain events in the system. They are simple, publicly accessible, callback urls triggered when certain conditions are met.

Sample request performed by Delve:

POST /scan-success-example
Content-Type: application/json

{"assetId": "1", "assetType": "site", "attemptNumber": 1, "id": "39836", "isAdHoc": true, "kind": "scan", "status": "done"}

POST /scan-failure-example
Content-Type: application/json

{"assetId": "1", "assetType": "site", "attemptNumber": 2, "id": "39836", "isAdHoc": true, "kind": "scan", "status": "failed"}

POST /export-complete-example
Content-Type: application/json

{"id": "212", "kind": "export", "status": "done"}

The data posted to the endpoint matches a stripped-down version of the Public API data type. The implementors are given just enough information to poll-back the Public API to obtain the details.

Global Registry

Webhooks are registered per organization using connectors. All connectors can register callbacks and they are all optional. To do so, the connectors must expose their capabilities using the delve.json format.

Connectors can be registered via the Public API /connectors route.

"scanSuccessWebhook": {
"url": ""
"scanFailureWebhook": {
"url": ""
"exportCompleteWebhook": {
"url": ""

Export Registry

When generating an export through the API, a webhook can be added per-request rather than globally.

curl -XPOST https://<YOUR_INSTANCE> -H 'Content-Type: application/json' -d '
"fileFormat": "csv",
"kind": "export",
"query": {"asset": {"id": 133}},
"webhook": {
"url": ""

Request Signature

The webhooks are signed using a JWT token and passed in the Authorization header. In order to prevent unauthorized access, it is recommended to validate the signature.

The signature payload is the body payload with the added iat attribute. We do not force an expiry. However, we recommend validating that the signature was generated within a reasonable time span. When using the signed version, the request body can be entirely discarded as it brings no additional value.

The X-Signature header is also provided to confirm the algorithm and location of the key to be used to validate the signature. These values can be used an additional validation.

⚠️Do not use the algorithm from this header without validation and algorithm whitelisting.

Authorization: Signed eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzUxMiJ9.eyJpZCI6IjIxNCIsImtpbmQiOiJleHBvcnQiLCJzdGF0dXMiOiJkb25lIiwiaWF0IjoxNTk4NTM5MzkyfQ.APRD1miLkn_S9eZubK6c4Uz
X-Signature: 'ES512 /api/webhook.key