Retrieve the current organization’s subscription details including status, plan, and billing period. Returns null if the organization has no subscription.
WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.
OK
Subscription resource representing an organization's billing plan. Managed through Polar integration with statuses like active, canceled, past_due.
Internal subscription record ID.
WorkOS organization ID that owns the subscription.
Polar subscription ID for this subscription.
Polar customer ID associated with the organization.
Current subscription status (active, canceled, past_due, etc.).
Polar product ID for the subscribed plan.
Internal plan tier ID mapped to the subscription.
Total number of seats purchased in the subscription.
-9007199254740991 <= x <= 9007199254740991Current number of seats in use by the organization.
-9007199254740991 <= x <= 9007199254740991Start timestamp of the current billing period.
End timestamp of the current billing period.
Scheduled cancellation timestamp, if set.
Timestamp when the subscription record was created.
Timestamp when the subscription record was last updated.