# Ampersand webhooks

Ampersand webhooks are HTTPS requests that bring your customers' SaaS records, and notifications about their integrations, from Ampersand to a destination URL you register.

Ampersand's event list covers notifications only. Read and subscribe results reach the same URL with an `action` field and no event type: see [choosing events](/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts#choosing-events).

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

> Independent reference generated from hookdeck/webhook-registry (commit ff7f882, 20 Nov 2026). [Ampersand's official docs](https://docs.withampersand.com/notifications/notification-payloads.md).

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

## Key facts

| Fact | Value | Source |
|---|---|---|
| Signature header | `svix-signature` Format: v1,<base64>, space-delimited when there are several | [Ampersand docs](https://docs.ampersand.ai/destinations/webhooks#webhook-signature-verification) |
| Scheme | `HMAC-SHA256` | [Ampersand docs](https://docs.ampersand.ai/destinations/webhooks#webhook-signature-verification) |
| Signed material | `{svix-id}.{svix-timestamp}.{raw body}` The two headers and the body as sent, joined with dots. Ampersand sends readers to Svix for this scheme. | [Ampersand docs](https://docs.ampersand.ai/destinations/webhooks#webhook-signature-verification) |
| How events are identified | `notificationType in the body; results use action instead` | [Ampersand docs](https://docs.ampersand.ai/notifications/notification-payloads) |
| Body format | `JSON` | [Ampersand docs](https://docs.ampersand.ai/destinations/webhooks) |
| Event families | `notifications, read and subscribe results` | [Ampersand docs](https://docs.ampersand.ai/notifications/notification-payloads) |
| Send timestamp | `svix-timestamp` | [Ampersand docs](https://docs.ampersand.ai/destinations/webhooks#webhook-signature-verification) |
| Envelope | `notificationType, data` | [Ampersand docs](https://docs.withampersand.com/notifications/notification-payloads.md) |
| Agent skill | `npx skills add hookdeck/webhook-skills --skill ampersand-webhooks` | [Agent skill →](https://hookdeck.com/webhooks/ampersand/skill) |

[Verify Ampersand webhooks](https://hookdeck.com/webhooks/ampersand/verify)

## How Ampersand webhooks work

Webhook destinations push data to you, so you don't have to poll Ampersand or each SaaS API for changes. When a read or subscribe action produces records, Ampersand sends them to the destination named on that object in `amp.yaml`. When something happens in your project, such as a customer installing your integration or a connection failing, it sends a notification to each destination routed from that event type through a topic.

The two kinds of message have different shapes. A notification has `notificationType`, which says what happened, and `data`. A result has `action` (`read` or `subscribe`) and `resultInfo`, with the records in `result`, or behind a signed `resultInfo.downloadUrl` when a single record is over 300 KB. Each subscribe record says what changed in `subscribeEventType`. Ampersand documents no version on these messages.

## Setting up Ampersand webhooks

- Create a webhook destination under Destinations in the dashboard, or with `POST /v1/projects/{projectIdOrName}/destinations`. Its URL must start with `https`.
- Name the destination on each object in `amp.yaml` to receive read and subscribe results. To receive notifications, create a topic under Notifications with the event types you want and select the destination.
- Ampersand recommends a separate dev project. Point its destination at a temporary URL from [Hookdeck Inspect](https://inspect.hookdeck.com/webhooks/ampersand), then call the trigger read API to produce messages on demand.
- Ampersand documents no way to resend a message. To recover data you missed, trigger a read for that object.

## Delivery behaviour

- **Timeout:** not published. Svix, which delivers for Ampersand, documents 30 seconds to return a 2xx. [Guide](https://hookdeck.com/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts#timeouts)
- **Retries:** not published. Svix's documented schedule is 8 attempts over about 27 hours; Ampersand doesn't say if it keeps that. [Guide](https://hookdeck.com/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts#retries)
- **Destination disabled:** after repeated failures. the threshold isn't published; `destination.webhook.disabled` tells you when it happens. [Guide](https://hookdeck.com/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts#retries)
- **Duplicates:** possible on resend. a resent message keeps its `svix-id`, per Svix's docs. [Guide](https://hookdeck.com/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts#duplicates)

## Known failure modes

1. **Destination disabled after an outage.** Ampersand can disable a webhook destination automatically after repeated failed deliveries, and it doesn't publish the threshold. Route `destination.webhook.disabled` and `destination.delivery.error` to another destination so you hear about it. [Retries and disabled destinations](https://hookdeck.com/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts#retries)
2. **Download URL expired.** A record over 300 KB arrives as a signed `resultInfo.downloadUrl` that expires after 15 minutes. Fetch it as soon as the message arrives, and trigger a new read if the link has expired. [Other Ampersand limits](https://hookdeck.com/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts#other-limits)
3. **Large messages rejected with a 413.** Ampersand messages can reach 300 KB, and some frameworks default to less: Express's limit is 100 KB. Raise your body limit to at least 350 KB, or deliveries can fail during backfills. [Other Ampersand limits](https://hookdeck.com/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts#other-limits)
4. **Handler crashes on the other message shape.** One URL can receive both notifications (`notificationType` and `data`) and results (`action` and `result`). Check which you have before reading any fields, or use separate destinations. [Choosing events](https://hookdeck.com/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts#choosing-events)

From [Hookdeck's Ampersand guide](https://hookdeck.com/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts).

## Ampersand webhook best practices

- **[Verify against the raw body](https://hookdeck.com/webhooks/ampersand/verify).** The signature covers the exact bytes, so parse the JSON only after the check passes.
- **[Allow 350 KB request bodies](https://hookdeck.com/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts#other-limits).** Messages can reach 300 KB, and Express's default limit is 100 KB. Ampersand suggests 350 KB to leave a buffer.
- **[Branch on the kind of message](https://hookdeck.com/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts#choosing-events).** Check `notificationType` first, then `action`, or give results and notifications separate destinations.
- **[Fetch download URLs straight away](https://hookdeck.com/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts#other-limits).** A `resultInfo.downloadUrl` expires after 15 minutes, so a message that waits in a queue can arrive with a dead link.
- **[Deduplicate on the message id](https://hookdeck.com/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts#duplicates).** A resent message keeps its `svix-id`. Upsert records on their provider id too, since a later read can return them again.
- **[Send destination alerts somewhere else](https://hookdeck.com/webhooks/ampersand/guide-duplicates-ordering-retries-timeouts#retries).** Route `destination.webhook.disabled` and `destination.delivery.error` to another destination, such as Slack, so you still hear about them when your webhook is down.

## Common Ampersand webhook events

### Installations

- [installation.created](https://hookdeck.com/webhooks/ampersand/events#installation.created): Customer installs your integration
- [installation.updated](https://hookdeck.com/webhooks/ampersand/events#installation.updated): Customer changes their integration configuration
- [installation.deleted](https://hookdeck.com/webhooks/ampersand/events#installation.deleted): Customer uninstalls your integration

### Connections and reads

- [connection.created](https://hookdeck.com/webhooks/ampersand/events#connection.created): New OAuth connection to a SaaS provider is made
- [connection.error](https://hookdeck.com/webhooks/ampersand/events#connection.error): OAuth connection fails, for example on authentication or token refresh
- [read.backfill.done](https://hookdeck.com/webhooks/ampersand/events#read.backfill.done): Historical sync finishes and its data is ready
- [read.schedule.paused](https://hookdeck.com/webhooks/ampersand/events#read.schedule.paused): Scheduled reads stop, often because of expired credentials

### Destinations

- [destination.webhook.disabled](https://hookdeck.com/webhooks/ampersand/events#destination.webhook.disabled): Webhook destination is disabled, possibly after repeated failures
- [destination.delivery.error](https://hookdeck.com/webhooks/ampersand/events#destination.delivery.error): Results can't be delivered to a destination after all retries

## Events by resource

| Resource | Events | Payloads |
|---|---|---|
| [subscribe](https://hookdeck.com/webhooks/ampersand/events#resource-subscribe) | 6 | 6 |
| [connection](https://hookdeck.com/webhooks/ampersand/events#resource-connection) | 5 | 5 |
| [read](https://hookdeck.com/webhooks/ampersand/events#resource-read) | 5 | 4 |
| [installation](https://hookdeck.com/webhooks/ampersand/events#resource-installation) | 3 | 0 |

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

## In this hub

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

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