Skip to main content
GET
/
v1
/
portal
/
status
curl https://portal-api.7331.org/v1/portal/status \
  -b "psession=YOUR_SESSION"
{
  "online": 5,
  "users": [
    {
      "user": {"id": 42, "username": "exampleuser", "avatar_url": null, "permission_level": 0},
      "session_id": "abc123def456"
    },
    {
      "user": {"id": 43, "username": "anotheruser", "avatar_url": "https://cdn.discordapp.com/avatars/...", "permission_level": 2},
      "session_id": "xyz789uvw012"
    }
  ],
  "muted": false
}

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. Returns the current portal presence information and whether the authenticated user is muted.

Response

online
integer
required
Number of users currently connected to the portal.
users
object[]
required
List of currently online users (deduplicated by user — multi-tab connections are collapsed to one entry).
muted
boolean
required
Whether the authenticated user is currently muted.
curl https://portal-api.7331.org/v1/portal/status \
  -b "psession=YOUR_SESSION"
{
  "online": 5,
  "users": [
    {
      "user": {"id": 42, "username": "exampleuser", "avatar_url": null, "permission_level": 0},
      "session_id": "abc123def456"
    },
    {
      "user": {"id": 43, "username": "anotheruser", "avatar_url": "https://cdn.discordapp.com/avatars/...", "permission_level": 2},
      "session_id": "xyz789uvw012"
    }
  ],
  "muted": false
}