Skip to content

Scheduled report deleted webhook

This event notifies a subscribed endpoint that a scheduled report has been removed. It is useful for clearing cached report references, stopping downstream jobs that expected that report, and keeping an audit trail of removals without needing to poll for changes.

When this event fires

Subscribe only if your integration needs to react when a scheduled report disappears. The webhook owner requires notifications:read. When the event fires, your endpoint receives a POST whose type identifies this deletion and whose data object contains the deleted report's ID, with userId and locationId present only when known. Do not expect the report's former settings or schedule to be included.

Handling checklist

Check the signature header first, using the timestamp and raw body, and allow for the second signature entry that can appear for 24 hours after a secret rotation. Then confirm the event-type header matches the type in the body, record the event ID so a repeated delivery can be skipped, and note the delivery ID and attempt number if you need to trace retries. Only after those checks should you delete the local reference for the ID in data.

Body fields to read

The JSON body is an application/json payload for a deleted-resource event. Its required fields identify the event, its API version, creation time, company, and the affected resource. An optional apiClient object appears only when the change was made through the API, and it identifies the key and its owner. The event ID in the body matches VT-Event-Id and stays deterministic for the same change, which makes it the right deduplication key.

Acknowledgement and retries

A successful acknowledgement is any 2XX response. If your endpoint returns an error, the delivery can be retried, so make the removal operation idempotent: deleting an already-removed local reference should succeed quietly rather than fail. Keep the event ID, delivery ID and attempt number in logs so a retry can be distinguished from a genuinely new deletion.

Frequently asked questions

What permission is needed for this event?

The webhook owner must have notifications:read. The delivery itself is a POST to your endpoint with the headers and JSON body described below.

Will the payload include the deleted report's full details?

No. For a deletion, data contains only identifiers for the removed resource, not its full former contents. Treat the payload as a removal notice keyed by that ID.

How should duplicate or retried deliveries be handled?

Use the event ID from the body or VT-Event-Id header to recognise a repeat delivery, and use VT-Delivery-Id together with VT-Delivery-Attempt to understand retries of the same delivery.

VT-Signature

FieldTypeRequiredDescriptionConstraints
VT-SignaturestringYest= ,v1= . "> . For 24 hours after a secret rotation it carries a second v1 entry signed with the previous secret. See Signature verification at the top of this document.

VT-Webhook-Id

FieldTypeRequiredDescriptionConstraints
VT-Webhook-IdstringYesthe ID of the webhook the delivery is for.

VT-Event-Id

FieldTypeRequiredDescriptionConstraints
VT-Event-IdstringYesthe event ID, the same as id in the body. Use it to skip duplicate deliveries.

VT-Event-Type

FieldTypeRequiredDescriptionConstraints
VT-Event-TypestringYesthe event type, the same as type in the body.Allowed values: $3b

VT-Delivery-Id

FieldTypeRequiredDescriptionConstraints
VT-Delivery-IdstringYesthe delivery ID, unique per delivery and kept across retries of the same delivery.

VT-Delivery-Attempt

FieldTypeRequiredDescriptionConstraints
VT-Delivery-AttemptintegerYesthe attempt number of this delivery, starting at 1.1 <= value