Notification Deleted Webhook Event
Handle removal of a daily, weekly, or birthday notification in your integration. This event is a deletion signal, not a full record update: it tells you which notification ID disappeared so you can delete the matching local entry and stop any scheduled handling for it.
When this event fires
Subscribe to notification.deleted when a daily, weekly, or birthday notification is removed. The webhook owner must have notifications:read. Treat the delivery as a tombstone: find the notification by the ID in data, remove it locally, and do not attempt to fetch or display its former settings from this payload.
Verify and deduplicate the delivery
Verify the delivery before acting on it. Check VT-Signature against the raw body, using the timestamp and HMAC-SHA256 format described in schema0001; after a secret rotation, a second v1 entry signed with the previous secret may be present for 24 hours. Use VT-Webhook-Id to identify the configured webhook (schema0002), VT-Event-Id to deduplicate (schema0003), and VT-Event-Type to confirm the type matches the body (schema0004). Track VT-Delivery-Id and VT-Delivery-Attempt to distinguish retries of the same delivery from new events (schema0005, schema0006).
Read the payload
The JSON body follows the deleted-resource event shape in schema0008. Confirm id, type, apiVersion, createdAt, and companyId, then read data. For this event, data contains the deleted notification ID and may also include userId or locationId when known. The optional apiClient object is present only when the deletion was made through the API, and identifies the key that made the change.
Handler checklist
A practical handler checklist: 1) Verify the signature over the raw body. 2) Confirm the event type is notification.deleted. 3) Check whether the event ID was already processed; if so, acknowledge without repeating the deletion. 4) Delete the local notification matching data.id. 5) If userId or locationId is present, use it only to scope cleanup or logging. 6) If apiClient is present, record which key caused the change for audit purposes. 7) Return a successful response so the delivery is not retried unnecessarily.
Deletion versus update
Do not confuse this event with notification.updated, which covers changes, pauses, or resumes and still describes an existing notification. A deletion is terminal for that notification ID: the correct response is removal, not an update to its schedule or recipients. Also do not confuse a retry with a new deletion; the delivery attempt can increase while the event ID stays the same.
| Check | What to confirm |
|---|---|
| Signature | VT-Signature validates against the raw body in schema0001 |
| Event identity | VT-Event-Id matches body id in schema0003 and schema0008 |
| Event type | VT-Event-Type and body type both indicate notification.deleted in schema0004 and schema0008 |
| Payload | data.id identifies the deleted notification in schema0008 |
| Permission | Webhook owner has notifications:read |
Use this as a narrative checklist alongside the exact contract modules; it does not replace them.
Frequently asked questions
How should duplicate deliveries be handled?
Use the event ID from the body, which matches the VT-Event-Id header. It is deterministic for the same change, so store processed IDs and skip repeats. Test deliveries are the exception and receive a random ID.
What data is available after a notification is deleted?
Do not expect the full notification record. For deleted resources, data carries only identifiers: the deleted resource ID, and userId or locationId only when known. Remove the local record by that ID rather than trying to read remaining fields.
What permission is required to receive this event?
The webhook owner needs notifications:read. Check that scope before debugging missing deliveries, because the event will not be sent to an owner without it.
VT-Signature
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
| VT-Signature | string | Yes | t= ,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
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
| VT-Webhook-Id | string | Yes | the ID of the webhook the delivery is for. |
VT-Event-Id
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
| VT-Event-Id | string | Yes | the event ID, the same as id in the body. Use it to skip duplicate deliveries. |
VT-Event-Type
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
| VT-Event-Type | string | Yes | the event type, the same as type in the body. | Allowed values: $3b |
VT-Delivery-Id
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
| VT-Delivery-Id | string | Yes | the delivery ID, unique per delivery and kept across retries of the same delivery. |
VT-Delivery-Attempt
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
| VT-Delivery-Attempt | integer | Yes | the attempt number of this delivery, starting at 1. | 1 <= value |