Skip to main content
GET
/
v1
/
notifications
curl https://portal-api.7331.org/v1/notifications?limit=10 \
  -b "psession=YOUR_SESSION"
{
  "notifications": [
    {
      "id": 1,
      "title": "Welcome to Portal",
      "body": "Your account has been created.",
      "type": "success",
      "read_at": null,
      "created_at": "2026-04-04T10:00:00Z",
      "created_by": null
    }
  ],
  "total": 1,
  "unread": 1,
  "offset": 0,
  "limit": 10
}

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.

Returns notifications for the authenticated user, newest first. Includes unread count for badge display.
offset
integer
default:0
Number of notifications to skip.
limit
integer
default:50
Maximum notifications to return (1–100).

Response

notifications
array
required
Array of notifications.
total
integer
required
Total notifications for this user.
unread
integer
required
Number of unread notifications.
offset
integer
required
Current offset.
limit
integer
required
Current limit.
curl https://portal-api.7331.org/v1/notifications?limit=10 \
  -b "psession=YOUR_SESSION"
{
  "notifications": [
    {
      "id": 1,
      "title": "Welcome to Portal",
      "body": "Your account has been created.",
      "type": "success",
      "read_at": null,
      "created_at": "2026-04-04T10:00:00Z",
      "created_by": null
    }
  ],
  "total": 1,
  "unread": 1,
  "offset": 0,
  "limit": 10
}