Skip to main content
GET
/
v1
/
users
/
me
/
punishments
curl "https://hapi.7331.org/v1/users/me/punishments?offset=0&limit=10" \
  -b cookies.txt
[
  {
    "id": 1,
    "punishment_type": "WARNING",
    "reason": "Spamming in chat",
    "is_lifted": false,
    "expires_at": null,
    "created_at": "2026-02-10T14:30:00Z"
  },
  {
    "id": 2,
    "punishment_type": "TIMEOUT",
    "reason": "Repeated violations",
    "is_lifted": true,
    "expires_at": "2026-02-11T14:30:00Z",
    "created_at": "2026-02-11T10:00:00Z"
  }
]
Requires an active session cookie. Returns a paginated list of the user’s own punishment records.
offset
integer
default:"0"
Pagination offset. Minimum 0.
limit
integer
default:"50"
Page size. Range: 1-100.

Response

Returns an array of punishment objects.
id
integer
required
Punishment ID.
punishment_type
string
required
Type of punishment. One of: WARNING, TIMEOUT, BAN, GUILD_BLACKLIST.
reason
string
Reason for the punishment. May be null.
is_lifted
boolean
required
Whether the punishment has been lifted.
expires_at
string
When the punishment expires (UTC, ISO 8601). null for permanent.
created_at
string
required
When the punishment was issued (UTC).
curl "https://hapi.7331.org/v1/users/me/punishments?offset=0&limit=10" \
  -b cookies.txt
[
  {
    "id": 1,
    "punishment_type": "WARNING",
    "reason": "Spamming in chat",
    "is_lifted": false,
    "expires_at": null,
    "created_at": "2026-02-10T14:30:00Z"
  },
  {
    "id": 2,
    "punishment_type": "TIMEOUT",
    "reason": "Repeated violations",
    "is_lifted": true,
    "expires_at": "2026-02-11T14:30:00Z",
    "created_at": "2026-02-11T10:00:00Z"
  }
]