Get all inbox notifications
Changed onThis endpoint returns all the user’s inbox notifications. Corresponds to liveblocks.getInboxNotifications.
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/users/{userId}/inbox-notifications
- Auth: none declared
Path parameters
ID of the user
Query parameters
The organization ID to filter notifications for.
Query to filter notifications. You can filter by unread, for example, unread:true.
A limit on the number of inbox notifications to be returned. The limit can range between 1 and 50, and defaults to 50.
A cursor used for pagination. Get the value from the nextCursor response of the previous page.
Response
Success. Returns the list of inbox notifications for the user.
Example response
{
"nextCursor": null,
"data": [
{
"kind": "thread",
"id": "in_abc123",
"roomId": "my-room-id",
"threadId": "th_abc123",
"notifiedAt": "2024-01-15T10:30:00.000Z",
"readAt": null
}
]
}Changes
- info
added the optional property
///to the response with the status
- info
- breaking
for the
queryrequest parameterlimit, the type changed fromnumbertointeger - breaking
the response's body type changed from
arraytoobjectfor status - info
api operation id
get-users-userId-inboxNotificationsremoved and replaced withget-inbox-notifications - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking