# VGS (Very Good Security) webhooks

VGS webhooks are signed notifications that VGS sends to your HTTPS endpoint when something happens in your organisation, such as a vault route changing, a user logging in, the proxy hitting an upstream error or a card being updated.

These pages cover the notifications VGS sends you. To pass another service's webhook through a VGS proxy route so that sensitive values are redacted, see [VGS's webhook example](https://docs.verygoodsecurity.com/vault/example-integrations/webhooks).

Agent skill: `npx skills add hookdeck/webhook-skills --skill vgs-webhooks` ([details](https://hookdeck.com/webhooks/vgs/skill))

> Independent reference generated from hookdeck/webhook-registry (commit ff7f882, 20 Nov 2026). [VGS (Very Good Security)'s official docs](https://docs.verygoodsecurity.com/enterprise-platform/developer-resources/webhook-notifications#webhook-signatures).

[Overview](https://hookdeck.com/webhooks/vgs) · [Webhook events (24)](https://hookdeck.com/webhooks/vgs/events) · [MCP events](https://hookdeck.com/webhooks/vgs/mcp-events) · [Verify signatures](https://hookdeck.com/webhooks/vgs/verify) · [Production guide](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts) · [Agent skill](https://hookdeck.com/webhooks/vgs/skill)

## Key facts

| Fact | Value | Source |
|---|---|---|
| Signature header | `vgs-signature` Format: t=<unix seconds>,v0=<hex> | [VGS (Very Good Security) docs](https://docs.verygoodsecurity.com/enterprise-platform/developer-resources/webhook-notifications#webhook-signatures) |
| Scheme | `HMAC-SHA256` **Docs discrepancy:** VGS's prose calls the signature a sha256 hash of the raw request body, but its Python sample computes an HMAC-SHA256 over `t`, a dot and the body. Follow the sample. ([docs](https://docs.verygoodsecurity.com/enterprise-platform/developer-resources/webhook-notifications#webhook-signatures)) | [VGS (Very Good Security) docs](https://docs.verygoodsecurity.com/enterprise-platform/developer-resources/webhook-notifications#webhook-signatures) |
| Signed material | `{t}.{raw body}` t from the vgs-signature header, a literal dot, then the body as sent. The version tag is v0, not v1. | [VGS (Very Good Security) docs](https://docs.verygoodsecurity.com/enterprise-platform/developer-resources/webhook-notifications#webhook-signatures) |
| How events are identified | `event field in the JSON body` | [VGS (Very Good Security) docs](https://docs.verygoodsecurity.com/cmp/products-and-services/account-updater) |
| Body format | `JSON` Content type: application/json. | [VGS (Very Good Security) docs](https://docs.verygoodsecurity.com/cmp/developer-resources/api/account-updater-events) |
| Send timestamp | `vgs-signature` Reject deliveries older than 1 minutes. | [VGS (Very Good Security) docs](https://docs.verygoodsecurity.com/enterprise-platform/developer-resources/webhook-notifications#webhook-signatures) |
| Envelope | `description, details, event, fingerprint, grouping, id, integration_id, occurrence, org_id, producer, scope, summary, tenant, timestamp` | [VGS (Very Good Security) docs](https://docs.verygoodsecurity.com/enterprise-platform/developer-resources/webhook-notifications#webhook-signatures) |
| Agent skill | `npx skills add hookdeck/webhook-skills --skill vgs-webhooks` | [Agent skill →](https://hookdeck.com/webhooks/vgs/skill) |

[Verify VGS (Very Good Security) webhooks](https://hookdeck.com/webhooks/vgs/verify)

## How VGS (Very Good Security) webhooks work

Notifications push changes to you, so your security and platform teams don't have to poll the VGS Dashboard. Each endpoint subscribes to the events and sources it needs, and VGS makes up to 8 delivery attempts. Frequent errors are grouped: `proxy.upstream_error` and `alias.reveal_failed` send only the 1st, 10th, 100th, 1000th and so on in a 5-minute window, and the `occurrence` field holds the count.

The event name is in the body's `event` field. VGS's examples for its Card Management Platform (CMP) events show a JSON `POST` with a `details` object alongside `id`, `timestamp`, `scope`, `grouping` and `occurrence`. For organisation events such as `route.updated`, VGS lists the `details` fields but publishes no example, so capture a real delivery before parsing strictly. `cmp_network_token.updated` covers every network token change, so read `details.state`. VGS's V1 API docs show the Account Updater events without the `cmp_` prefix, and the docs describe no payload version.

## Setting up VGS (Very Good Security) webhooks

- In the VGS Dashboard, go to Organization Settings > Notifications and click Create new. Enter an HTTPS URL, then choose events and the tenants, users or organisations they apply to, each marked Sandbox or Live. Notifications need an activated organisation, and the page tells you to contact support if yours isn't enabled.
- VGS needs a public HTTPS URL, so test through a tunnel: `hookdeck listen 3000 vgs` gives you one and forwards requests to your machine.
- Trigger a real event by changing a route in a sandbox vault. For Account Updater, VGS documents [Mastercard mock numbers](https://docs.verygoodsecurity.com/cmp/developer-resources/guides/testing/account-updater-webhooks) that fire notifications.
- VGS can replay notifications manually. Give it the start and end times, the event types, and whether to replay only failed deliveries or all of them.

## Delivery behaviour

- **Timeout:** not documented. VGS doesn't state how long it waits for a response. [Guide](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts#timeouts)
- **Retries:** 8 attempts. immediately, then 5 seconds, 5 minutes, 30 minutes, 2 hours, 5 hours, 10 hours and 10 hours. [Guide](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts#retries)
- **After retries:** cancelled. the delivery stops after 8 non-200 responses; VGS can replay it manually. [Guide](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts#retries)
- **Ordering:** not documented. VGS states no guarantee, and a retried event can arrive after a newer one. [Guide](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts#ordering)

## Known failure modes

1. **Retries fail a 60-second timestamp check.** VGS resends a retry with its original timestamp, so the 60-second check in its sample rejects a retry that comes later. Widen the window to cover the schedule, or drop the check and deduplicate instead. [Keep retries verifiable](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts#retries)
2. **A disabled endpoint misses events.** VGS doesn't retry notifications generated while an endpoint is disabled. Keep the endpoint enabled during maintenance and hold events on your side. [Plan for maintenance](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts#retries)
3. **Grouped events undercount.** `proxy.upstream_error` and `alias.reveal_failed` are sent only for the 1st, 10th, 100th and so on in a 5-minute window. Read `occurrence` rather than counting deliveries. [Handle grouped events](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts#other-limits)
4. **A non-200 success counts as a failure.** VGS describes failed attempts as non-200 responses, so a `201` or `204` may be retried. Return exactly `200` once you've stored the notification. [Respond correctly](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts#timeouts)

From [Hookdeck's VGS (Very Good Security) guide](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts).

## VGS (Very Good Security) webhook best practices

- **[Return `200` quickly](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts#timeouts).** VGS's delivery rules count any non-200 response as a failure and don't state a timeout. Verify, store the body and respond, then work in the background.
- **[Deduplicate on `id`](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts#duplicates).** VGS's examples carry an `id`, but the docs don't say a retry keeps it, so confirm that on a real retry before you depend on it.
- **[Fetch the card after a card event](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts#ordering).** VGS suggests using the card ID in each Account Updater notification to read the latest card data, which also protects you from late deliveries.
- **[Subscribe only to what you process](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts#choosing-events).** Each notification takes its own events and sources, so keep sandbox and live apart, and send login and permission events to alerting.
- **[Read `occurrence` on grouped events](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts#other-limits).** Counting deliveries of `proxy.upstream_error` undercounts, because VGS sends only the 1st, 10th, 100th and so on in each 5-minute window.
- **[Capture organisation events before you parse them](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts#testing).** VGS publishes no example body for events such as `route.updated`, so store a real delivery and write your parser against it.

## Common VGS (Very Good Security) webhook events

### Routes and vaults

- [route.updated](https://hookdeck.com/webhooks/vgs/events#route.updated): Vault route is changed
- [route.delete](https://hookdeck.com/webhooks/vgs/events#route.delete): Vault route is deleted
- [vault.created](https://hookdeck.com/webhooks/vgs/events#vault.created): New vault is created in the organization

### Users and access

- [user.logged_in](https://hookdeck.com/webhooks/vgs/events#user.logged_in): User logs in
- [user.permissions_updated](https://hookdeck.com/webhooks/vgs/events#user.permissions_updated): User's permissions change
- [user.mfa_deleted](https://hookdeck.com/webhooks/vgs/events#user.mfa_deleted): User removes multi-factor authentication

### Proxy errors and cards

- [proxy.upstream_error](https://hookdeck.com/webhooks/vgs/events#proxy.upstream_error): Proxy gets an upstream error, grouped per 5-minute window
- [alias.reveal_failed](https://hookdeck.com/webhooks/vgs/events#alias.reveal_failed): Revealing an alias fails, grouped per 5-minute window
- [cmp_au_card.updated](https://hookdeck.com/webhooks/vgs/events#cmp_au_card.updated): Card number or other account details change
- [cmp_network_token.updated](https://hookdeck.com/webhooks/vgs/events#cmp_network_token.updated): Network token changes state or its card metadata updates

## Events by resource

| Resource | Events | Payloads |
|---|---|---|
| [cmp_au_card](https://hookdeck.com/webhooks/vgs/events#resource-cmp-au-card) | 9 | 9 |
| [user](https://hookdeck.com/webhooks/vgs/events#resource-user) | 6 | 0 |
| [route](https://hookdeck.com/webhooks/vgs/events#resource-route) | 3 | 0 |

1 more resource. [All 24 events](https://hookdeck.com/webhooks/vgs/events)

## In this hub

- [Webhook events](https://hookdeck.com/webhooks/vgs/events): Every covered VGS (Very Good Security) event, with payloads where the registry has them.
- [MCP events](https://hookdeck.com/webhooks/vgs/mcp-events): How an agent subscribes to VGS (Very Good Security) events as MCP events.
- [Verify signatures](https://hookdeck.com/webhooks/vgs/verify): Signature facts, verification code and common failures.
- [Production guide](https://hookdeck.com/webhooks/vgs/guide-duplicates-ordering-retries-timeouts): Production problems, such as timeouts and retries, and how to handle them.
- [Agent skill](https://hookdeck.com/webhooks/vgs/skill): Install the webhook skill in your coding agent. `npx skills add hookdeck/webhook-skills --skill vgs-webhooks`
---

Not affiliated with VGS (Very Good Security). Facts are compiled from public sources and linked inline. [View as JSON](https://hookdeck.com/webhooks/vgs.json) · [Report a correction](https://hookdeck.com/contact)
