Loading…
Represents a user's premium subscription: its tier and validity period.
| Field | Type | Description | Example |
|---|---|---|---|
| id | int | Unique identifier for the subscription | 123 |
| user_id | int | ID of the user | 123 |
| type | string | Subscription tier, a UserPremiumSubscriptionType value. Currently always plus. | "plus" |
| starts_at | string | Subscription start timestamp (Y-m-d H:i:s) | "2025-01-01 00:00:00" |
| expires_at | string | Subscription expiry timestamp (Y-m-d H:i:s) | "2025-02-01 00:00:00" |
There is no plan field, and there never was: the resource has emitted type since it was added (7f99f1f7,
2025-04-26). Earlier versions of this page documented plan by mistake; it was never an alias. A client reading
plan has always received nothing.
{
"id": 123,
"user_id": 123,
"type": "plus",
"starts_at": "2025-01-01 00:00:00",
"expires_at": "2025-02-01 00:00:00"
}