subscription.created
New subscription becomes active via paid checkout, access code, or trial.
Always precedes member.joined for paid plans and
member.trial_joined when trial_ends_at is set.
When this fires
A new subscription is created as the result of a successful paid checkout, an access-code redemption, or a trial activation.
Required ability
project-subscription:view-any — token must carry this at mint time to subscribe an endpoint to this event.
Payload
{
"id": "evt_01HX...",
"type": "subscription.created",
"created_at": "2026-05-18T10:05:00Z",
"api_version": "2026-05-01",
"project_id": "prj_01HX...",
"data": {
"subscription_id": "sub_01HX...",
"plan_id": "pln_01HX...",
"subscriber_id": "usr_01HX...",
"trial_ends_at": null,
"access_code": null
}
}Field reference
| Field | Type | Notes |
|---|---|---|
id | string ULID | Unique event id, prefixed evt_. Use for idempotent processing. |
type | string | Always subscription.created for this event. |
created_at | ISO 8601 timestamp | Server-side emission time. |
api_version | string | Webhook API contract version. |
project_id | string ULID | Project this event belongs to. |
data.subscription_id | string ULID | Subscription identifier. |
data.plan_id | string ULID | Plan the subscription is on. |
data.subscriber_id | string ULID | The subscriber's project-scoped user id. |
data.trial_ends_at | ISO 8601 timestamp | null | Set when the subscription started in trial state; otherwise null. |
data.access_code | string | null | Masked code (last 5 chars only) when redemption is the trigger. |
Caveats
- Listeners should treat this event as the canonical "the subscription exists" signal — don't act on
payment.succeededalone. - For trials,
subscription.trial_startedfires alongside; for paid checkouts,payment.succeededfollows.
Related events
member.joined— always follows for paid plans.subscription.trial_started— fires alongside whentrial_ends_atis set.- Subscription events overview — back to family overview.
How is this guide?