notification.updated webhook event
This event fires when an existing daily, weekly or birthday notification is edited, paused or resumed. The webhook owner must hold the notifications:read scope. Handlers receive the full updated notification in data, plus envelope fields for routing, deduplication and signature verification.
When this event fires
Subscribe to notification.updated when you need to react to edits, pauses or resumes of daily, weekly or birthday notifications. The owner needs notifications:read. A pause or resume is not a separate event type: it arrives as an update with the enabled state reflected in data. Compare this event with notification.created for new notifications and notification.deleted, where data carries only the deleted notification's ID.
Headers to check first
Verify the signature before trusting the body. VT-Signature carries a timestamp and an HMAC-SHA256 value computed over the timestamp, a dot and the raw request body. During the 24 hours after a secret rotation, a second signature entry signed with the previous secret may also be present, so accept either entry during that window. VT-Webhook-Id identifies which webhook the delivery belongs to. VT-Event-Id matches id in the body and is the deduplication key. VT-Event-Type matches type in the body. VT-Delivery-Id stays the same across retries of one delivery, while VT-Delivery-Attempt counts attempts starting at 1. The full header contract is defined by protected modules schema0001 through schema0006.
Envelope and deduplication
The JSON body has a small envelope: id, type, apiVersion, createdAt and companyId, then data and an optional apiClient. The event id is deterministic for a given change, which makes it safe to skip duplicates; test deliveries are the exception and receive a random id. createdAt uses ISO 8601 date-time format. apiVersion is 2 for this data shape. apiClient appears only when the change was made through the API, and it identifies the key and its owner. The complete body contract is defined by protected module schema0008.
Reading the notification payload
data holds the full notification after the change, for every frequency. Use data.frequency to branch: DAILY, WEEKLY and BIRTHDAY variants share core fields such as name, timezone, hour, minute, locationIds, departmentIds, labelIds, destinations, id, enabled, ownerId, groupBy and sendEmpty, but each adds its own scheduling fields. Daily adds sendOnDays. Weekly adds firstDayOfWeek, day and currentWeek. Birthday adds sendOnNonWorkingDays and optional managersReminders. Empty location, department or label lists have specific inclusion meanings, and destinations must contain at least one entry. An optional error field reports the last error that stopped sending and is omitted when there is none. Treat extra keys as possible, since each variant allows additional string-keyed properties.
Handler checklist
A practical handler checklist: 1) Verify VT-Signature against the raw body before parsing. 2) Confirm VT-Event-Type is notification.updated. 3) Deduplicate on VT-Event-Id / body id. 4) Track VT-Delivery-Id and VT-Delivery-Attempt to distinguish retries from new events. 5) Branch on data.frequency before reading schedule fields. 6) If apiClient is present, record which key made the change for audit purposes. 7) Respond with a 2XX status once the event is durably processed, so retries are not triggered unnecessarily.
| Variant | Distinguishing fields | Use it to decide |
|---|---|---|
| DAILY | sendOnDays (optional) | Which weekdays the summary is sent |
| WEEKLY | firstDayOfWeek, day, currentWeek (optional) | Week start, send day and current vs next week |
| BIRTHDAY | sendOnNonWorkingDays, managersReminders (optional) | Non-working-day birthdays and manager reminders |
Field presence follows protected module schema0008; optional fields may be absent.
Frequently asked questions
How should duplicate notification.updated deliveries be handled?
Use the event ID from the delivery to recognise a repeat. The same change keeps the same ID, so a handler can skip work it has already processed. Delivery identifiers serve a different purpose: they stay constant across retries of one delivery attempt sequence.
How do I tell which notification schedule changed?
Check data.frequency in the payload. It distinguishes the daily, weekly and birthday shapes, which carry different scheduling fields.
When is apiClient present in the payload?
The payload includes an optional apiClient object only when the change originated through the API. Its key ID, optional display name and owner ID identify the key involved.
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 |