Early bird discounts live! Claim your offer

pass.window_closed

A time-limited pass access window ended and its holders were removed.

When this fires

A scheduled access window reached its end time. Everyone who held it has been removed from the plan's Telegram resources and their pass has ended — one purchase buys one window, so there is no next window to roll into.

This also fires for a window that never opened because the worker was unavailable for its entire span. Such a window is closed rather than opened late, so nobody is admitted to a window that has already finished.

Required ability

project-subscription-plan:view-any — token must carry this at mint time to subscribe an endpoint to this event.

Payload

{
  "id": "evt_01HX...",
  "type": "pass.window_closed",
  "created_at": "2026-09-21T03:00:02Z",
  "api_version": "2026-05-01",
  "project_id": "prj_01HX...",
  "data": {
    "plan_id": "pln_01HX...",
    "window_id": "psw_01HX...",
    "starts_at": "2026-09-20T13:00:00Z",
    "ends_at": "2026-09-21T03:00:00Z",
    "subscribers_affected": 47
  }
}

Field reference

FieldTypeNotes
idstring ULIDUnique event id, prefixed evt_. Use for idempotent processing.
typestringAlways pass.window_closed for this event.
created_atISO 8601 timestampServer-side emission time.
api_versionstringWebhook API contract version.
project_idstring ULIDProject this event belongs to.
data.plan_idstring ULIDThe pass plan the window belongs to.
data.window_idstring ULIDThe access window that closed.
data.starts_atISO 8601 timestampWindow start, always UTC.
data.ends_atISO 8601 timestampWindow end, always UTC.
data.subscribers_affectedintegerHow many holders were removed and had their pass ended.

Caveats

  • Timestamps are UTC — convert to the plan's schedule timezone before showing them.
  • Each affected subscription also emits subscription.expired, and member.churned when it was the subscriber's last active subscription. De-duplicate if you consume several of these.
  • A cancelled window does not emit this event. Cancellation is a separate creator action that moves holders to another window or flags them for refund.

How is this guide?

On this page

Subscriby is a product designed by you — for you.

No boardroom full of executives deciding what we ships next. Our roadmap always shaped by you with your feedback.

Share feedback or a request