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.

12 events covered

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

Signature header
svix-signature

Format: v1,<base64>, space-delimited when there are several

Scheme
HMAC-SHA256
Signed material
{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.

How events are identified
type field in the body
Body format
JSON
Send timestamp
svix-timestamp
Other headers
svix-id, svix-timestamp
Envelope
type, data
Agent skill
npx skills add hookdeck/webhook-skills --skill autumn-webhooks

Verify Autumn webhooks →

Setting up Autumn webhooks

  • Add an endpoint under Developer > Webhooks in the dashboard, or call POST /v1/webhooks.create. webhooks.sync and the atmn config 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

  1. Duplicate deliveries

    A delivery that fails is sent again with the same svix-id, even if your handler had already done the work. Record each svix-id and skip repeats.

    Handle duplicates →
  2. Only the first plan change handled

    One billing.updated can carry several plan_changes, and an upgrade from free to pro is an activated entry and an expired entry in the same event. Loop over every entry.

    Other Autumn limits →
  3. Older plan state overwrites newer

    Autumn doesn't document delivery order, and billing.updated has no event timestamp to compare. When your database must match Autumn, fetch the customer from its API rather than trusting arrival order.

    Handle ordering →
  4. Signing secret lost

    The API returns a webhook's whsec_ secret once, when it creates the webhook, and webhooks.get never returns it. Store it straight away; if it's lost, create a new webhook.

    Other Autumn limits →

Autumn webhook best practices

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

vercel.resources.deleted · .resources.provisioned · .resources.rotate_secrets · .webhooks.event

4 0
billing

billing.auto_topup_failed · .auto_topup_succeeded · .updated

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.

Not affiliated with Autumn. Facts are compiled from public sources and linked inline.