Autumn webhooks
Autumn webhooks are HTTPS requests, sent through Svix, that tell your server when a customer's plans, usage limits, auto top-ups or invoices change.
How Autumn webhooks work
Autumn keeps subscription state, usage and access in sync on its own, so you don't need webhooks to run billing. They're for side effects in your own systems: activation emails, provisioning, CRM updates and cutting off access when someone cancels. You subscribe a URL to every event or to a selection, and Autumn sends a JSON POST when one happens.
The type field says what happened, and data holds the details, with customer_id and, on entity-scoped events, entity_id. Auto top-up events add a top-level id and occurred_at. Timestamps in the body are in milliseconds, unlike the svix-timestamp header. Autumn's reference pages list the fields of invoice.finalized and the vercel.* events without showing the envelope around them. Autumn documents no version on webhook bodies.
Key facts
svix-signature Format: v1,<base64>, space-delimited when there are several
{svix-id}.{svix-timestamp}.{raw body} The two headers and the body as sent, joined with dots. Autumn sends readers to Svix for this scheme.
Setting up Autumn webhooks
- Add an endpoint under Developer > Webhooks in the dashboard, or call
POST /v1/webhooks.create.webhooks.syncand theatmnconfig manage endpoints as code. - The URL must be https, and localhost and private-network addresses are rejected, though tunnels work. Each environment has its own webhooks, so create one for sandbox and one for production.
- Use **Send Test Event** in the dashboard to check the endpoint. To see a delivery without running a server, point it at a temporary URL from Hookdeck Inspect.
- Delivery attempts are in the dashboard, where you can also retry failed ones.
Delivery behaviour
not published Svix, which delivers for Autumn, documents 30 seconds to return a 2xx Retries exponential backoff on errors and unavailability; Svix's documented schedule is 8 attempts over about 27 hours, and Autumn doesn't say if it keeps that After retries run out not published you can retry failed deliveries from the dashboard; Svix's docs disable an endpoint after 5 days of failures Duplicates possible on retry a retried message keeps its svix-id, per Svix's docs Known failure modes
From Hookdeck's Autumn guide →-
Duplicate deliveries
A delivery that fails is sent again with the same
Handle duplicates →svix-id, even if your handler had already done the work. Record eachsvix-idand skip repeats. -
Only the first plan change handled
One
Other Autumn limits →billing.updatedcan carry severalplan_changes, and an upgrade fromfreetoprois anactivatedentry and anexpiredentry in the same event. Loop over every entry. -
Older plan state overwrites newer
Autumn doesn't document delivery order, and
Handle ordering →billing.updatedhas no event timestamp to compare. When your database must match Autumn, fetch the customer from its API rather than trusting arrival order. -
Signing secret lost
The API returns a webhook's
Other Autumn limits →whsec_secret once, when it creates the webhook, andwebhooks.getnever returns it. Store it straight away; if it's lost, create a new webhook.
Autumn webhook best practices
- Verify against the raw body. The signature covers the exact bytes, so parse the JSON only after the check passes.
- Return a 2xx quickly. Store the event and respond, then send emails or provision resources afterwards.
- Deduplicate on
svix-id. A retry keeps the same id. For auto top-ups, Autumn suggestsinvoice.stripe_idas the key. - Loop over every plan change.
One
billing.updatedcan carry severalplan_changes, and an upgrade arrives as anactivatedentry plus anexpiredone. - Give
vercel.*events their own webhook. Autumn won't let you mix them with other events on one webhook, so Vercel Marketplace events need a separate endpoint. - Reconcile after an outage. Autumn publishes no retry limit, so read current state from its API once your endpoint is back.
Common Autumn webhook events
Plans and invoices
billing.updated | Customer's plans are activated, scheduled, changed or expired |
invoice.finalized | Stripe invoice is finalized and its line items reconciled |
Usage
balances.limit_reached | Customer hits a feature limit, such as a spend cap |
balances.usage_alert_triggered | Customer's usage crosses an alert threshold you configured |
Auto top-ups
billing.auto_topup_succeeded | Auto top-up adds prepaid balance for a customer |
billing.auto_topup_failed | Auto top-up is blocked, declined or fails without granting balance |
Events by resource
| Resource | Events | Payloads |
|---|---|---|
vercel | 4 | 0 |
billing | 3 | 3 |
1 more resource, including Other Autumn events. All 12 events →
In this hub
| Webhook events → | Every covered Autumn event, with payloads where the registry has them. |
| MCP events → | How an agent subscribes to Autumn events as MCP events. |
| Verify signatures → | Signature facts, verification code and common failures. |
| Production guide → | Production problems, such as timeouts and retries, and how to handle them. |
| Agent skill → | Install the webhook skill in your coding agent. npx skills add hookdeck/webhook-skills --skill autumn-webhooks |
Keep an outage from losing an Autumn cancellation.
Hookdeck Event Gateway accepts every Autumn delivery, verifies its signature, stores each event and delivers it at a rate your service can handle, with replay for anything that fails.