# All active subscriptions
curl https://portal-api.7331.org/v1/admin/subscriptions/active \
-b "psession=YOUR_SESSION"
# Only premium
curl "https://portal-api.7331.org/v1/admin/subscriptions/active?tier=2" \
-b "psession=YOUR_SESSION"
{
"users": [
{
"id": 42,
"name": "exampleuser",
"tier": 2,
"expires_at": "2026-06-01T00:00:00Z",
"is_active": true
},
{
"id": 7,
"name": "earlybird",
"tier": 3,
"expires_at": null,
"is_active": true
}
]
}
List all active (non-BASIC) user subscriptions (admin only).
# All active subscriptions
curl https://portal-api.7331.org/v1/admin/subscriptions/active \
-b "psession=YOUR_SESSION"
# Only premium
curl "https://portal-api.7331.org/v1/admin/subscriptions/active?tier=2" \
-b "psession=YOUR_SESSION"
{
"users": [
{
"id": 42,
"name": "exampleuser",
"tier": 2,
"expires_at": "2026-06-01T00:00:00Z",
"is_active": true
},
{
"id": 7,
"name": "earlybird",
"tier": 3,
"expires_at": null,
"is_active": true
}
]
}
Requires an active admin session cookie.Documentation Index
Fetch the complete documentation index at: https://docs.7331.org/llms.txt
Use this file to discover all available pages before exploring further.
1 = Trial, 2 = Premium, 3 = Lifetime.id, name, tier, expires_at, and is_active.# All active subscriptions
curl https://portal-api.7331.org/v1/admin/subscriptions/active \
-b "psession=YOUR_SESSION"
# Only premium
curl "https://portal-api.7331.org/v1/admin/subscriptions/active?tier=2" \
-b "psession=YOUR_SESSION"
{
"users": [
{
"id": 42,
"name": "exampleuser",
"tier": 2,
"expires_at": "2026-06-01T00:00:00Z",
"is_active": true
},
{
"id": 7,
"name": "earlybird",
"tier": 3,
"expires_at": null,
"is_active": true
}
]
}
Was this page helpful?