Skip to main content
GET
/
v1
/
admin
/
subscriptions
/
active
# All active subscriptions
curl https://hapi.7331.org/v1/admin/subscriptions/active \
  -b cookies.txt

# Only premium
curl "https://hapi.7331.org/v1/admin/subscriptions/active?tier=2" \
  -b cookies.txt
{
  "users": [
    {
      "discord_id": 123456789012345678,
      "name": "exampleuser",
      "tier": 2,
      "expires_at": "2026-06-01T00:00:00Z",
      "is_active": true
    }
  ],
  "guilds": [
    {
      "discord_id": 987654321098765432,
      "name": "Example Server",
      "tier": 3,
      "expires_at": null,
      "is_active": true
    }
  ]
}
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.
guilds
object[]
required
Active guild subscriptions.
# All active subscriptions
curl https://hapi.7331.org/v1/admin/subscriptions/active \
  -b cookies.txt

# Only premium
curl "https://hapi.7331.org/v1/admin/subscriptions/active?tier=2" \
  -b cookies.txt
{
  "users": [
    {
      "discord_id": 123456789012345678,
      "name": "exampleuser",
      "tier": 2,
      "expires_at": "2026-06-01T00:00:00Z",
      "is_active": true
    }
  ],
  "guilds": [
    {
      "discord_id": 987654321098765432,
      "name": "Example Server",
      "tier": 3,
      "expires_at": null,
      "is_active": true
    }
  ]
}