Skip to main content
GET
/
v1
/
admin
/
subscriptions
/
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
    }
  ]
}

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.

Requires an active admin session cookie.
tier
integer
Filter by subscription tier. 1 = Trial, 2 = Premium, 3 = Lifetime.

Response

users
object[]
required
Active user subscriptions. Each entry has 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
    }
  ]
}