Notifications
Mark Notifications Read
Changed onMarks the authenticated user's notifications as read, for one experience or all of them, and returns the refreshed badge rows for that scope. Requires a user credential.
post/notifications/mark_read
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Headers
Api-Version-Date, string
Example:2026-11-30
Pins the request to a dated API version.
Idempotency-Key, string
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
object required
all, boolean
Pass true to mark every notification read. Exactly one of experience_id or all is required.
experience_id, string
Experience to mark read (exp_ tag). Exactly one of experience_id or all is required.
Example request
{
"all": true,
"experience_id": "exp_xxxxxxxxxxxxxx"
}Response
notifications marked read
object required
data, Notification Badge[] 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 non-success response with the status
- info
- info
added the optional property
error/codeto the response with the status - info
added the optional property
error/codeto the response with the status
2 more changes in this revision
- info