subscription.activated

A paid subscription is acquired.

Ability to subscribeproject-subscription:view

When this fires

On the first successful payment for a subscription, across every payment provider: Stripe, PayPal, Paystack, Razorpay, Skrill, CeyPay, and CoinPayments. It covers both recurring subscriptions and one-time (non-recurring) passes.

It fires once per subscription, at acquisition. It is not a general "became active" signal:

TransitionEvent actually emitted
First paid checkoutsubscription.activated
Recurring renewal chargesubscription.renewed
Paused → resumedsubscription.unpaused
Cancelled → reinstated before ends_atsubscription.reactivated
Past-due → collectedsubscription.renewed
Trial → payingmember.converted
Access code / cardless trialsubscription.created

A Stripe subscription that begins in a trial still emits subscription.activated at acquisition, because the provider creates the subscription at that moment. The later trial-to-paid transition emits member.converted only.

This is the paid-acquisition event. If you only subscribe to one subscription event for a paying audience, subscribe to this one, not subscription.created, which never fires for paid checkouts.

data.provider is never access_code on this event; code redemptions emit subscription.created instead.

Caveats

  • Once per subscription. Stripe and PayPal de-duplicate with a persistent guard key; the remaining providers emit only on the non-renewal branch of their payment handler. Renewals never re-emit it.
  • To capture every acquisition path (paid, comped code, and cardless trial) subscribe to both subscription.activated and subscription.created, then de-duplicate on data.subscription_id.
  • Paid acquisitions do not emit member.joined. That event is access-code-only. Use subscription.activated as the paid-audience join signal.
  • payment.succeeded fires for the same charge and carries the amount, currency, and external payment id, which this event does not.
  • The POST /v1/webhook-endpoints/{endpoint}/test endpoint sends a synthetic subscription.created payload, never subscription.activated. Testing an endpoint does not exercise this event.

Related events

  • subscription.created: the zero-payment acquisition equivalent.
  • payment.succeeded: the charge behind this activation.
  • subscription.renewed: every subsequent cycle.
  • member.converted: trial-to-paying transition.

Header Parameters

SB-Signature*string

t=<unix seconds>,v1=<hex>: the HMAC-SHA256 of "<t>.<raw body>" under the endpoint's secret. Verify it before acting, and refuse a t more than 300 seconds from now. During a secret rotation a v0= signature under the previous secret may precede v1=.

SB-Event-Id*string

The event's ULID, bare. The envelope's id is the same ULID prefixed evt_, so strip the prefix before comparing. Deduplicate on it: a retry carries the same id.

SB-Event-Name*string

The event name, the same as the envelope's type.

Content-Type*string

Always application/json.

User-Agent*string

Always Subscriby-Webhooks/1.0.

Request Body

application/json

The signed JSON envelope posted to your endpoint.

TypeScript Definitions

Use the request body type in TypeScript.

The envelope every event is delivered in.

Response Body

Example Requests

POST/subscription.activated

How is this guide?