Skip to main content
GET
/
v1
/
users
/
me
/
subscription
curl https://portal-api.7331.org/v1/users/me/subscription \
  -b "psession=YOUR_SESSION"
{
  "subscription_tier": 1,
  "expires_at": "2025-12-31T23:59:59Z",
  "is_active": true,
  "history": [
    {
      "id": 1,
      "old_tier": 0,
      "new_tier": 1,
      "reason": "Trial granted",
      "granted_by_id": 7,
      "created_at": "2025-01-01T00:00:00Z"
    }
  ],
  "created_at": "2025-01-01T00:00:00Z",
  "updated_at": "2025-01-15T12:00:00Z"
}

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 session cookie.

Response

subscription_tier
integer
required
Current subscription level. 0 = Basic, 1 = Trial, 2 = Premium, 3 = Lifetime.
expires_at
string
When subscription expires (UTC). null for lifetime.
is_active
boolean
required
Whether subscription is currently active.
history
object[]
Subscription change history. Each entry contains id, old_tier, new_tier, reason, granted_by_id, and created_at.
created_at
string
required
When the user was created (UTC).
updated_at
string
required
When the user was last updated (UTC).
curl https://portal-api.7331.org/v1/users/me/subscription \
  -b "psession=YOUR_SESSION"
{
  "subscription_tier": 1,
  "expires_at": "2025-12-31T23:59:59Z",
  "is_active": true,
  "history": [
    {
      "id": 1,
      "old_tier": 0,
      "new_tier": 1,
      "reason": "Trial granted",
      "granted_by_id": 7,
      "created_at": "2025-01-01T00:00:00Z"
    }
  ],
  "created_at": "2025-01-01T00:00:00Z",
  "updated_at": "2025-01-15T12:00:00Z"
}