Notifications

List Notification Badges

Changed on

Lists the authenticated user's per-experience unread badge state. Requires a user credential. Returns one row per experience the user belongs to (or per requested experience).

get/notifications/badges

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Query parameters

experience_ids, string[]

Only return badges for these experiences (exp_ tags).

[
  "exp_xxxxxxxxxxxxxx"
]
last_fetched_at, string

The client's last fetched-at ISO 8601 timestamp, used to partially refresh badges after a websocket message.

unread, boolean

Only return badges for experiences with unread notifications.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

badges listed

object required
data, NotificationBadge[] required

Example response

{
  "data": [
    {
      "account_id": "biz_xxxxxxxxxxxxxx",
      "experience_id": "exp_xxxxxxxxxxxxxx",
      "last_viewed_at": "2026-01-01T12:00:00.000Z"
    }
  ]
}

Changes

    • info

      added the new optional query request parameter unread

    • info

      added the optional property error/code to the response with the status

    • info

      added the optional property error/code to the response with the status