subscription.expired
ends_at reached; access revoked.
When this fires
The subscription's ends_at has passed. Resource access is revoked and the subscription transitions to its terminal state.
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.expired",
"created_at": "2026-06-18T10:06:00Z",
"api_version": "2026-05-01",
"project_id": "prj_01HX...",
"data": {
"subscription_id": "sub_01HX...",
"plan_id": "pln_01HX...",
"subscriber_id": "usr_01HX...",
"ends_at": "2026-06-18T10:05:00Z"
}
}Field reference
| Field | Type | Notes |
|---|---|---|
id | string ULID | Unique event id, prefixed evt_. Use for idempotent processing. |
type | string | Always subscription.expired 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 was on. |
data.subscriber_id | string ULID | Subscriber's project-scoped user id. |
data.ends_at | ISO 8601 timestamp | When the subscription was due to end. |
Caveats
- Pairs with
member.churnedwhen this is the subscriber's last active subscription. - Resource access is revoked as part of expiry — expect
member.resource_removedevents for each granted resource.
Related events
subscription.cancelled,subscription.unpaid,subscription.trial_expired— predecessors.member.churned— paired member-level event.- Subscription events overview — back to family overview.
How is this guide?