Comments

Get thread inbox notifications

Changed on

This endpoint returns the inbox notifications associated with a specific thread. Because this endpoint is not user-scoped, each notification includes a userId field identifying which user the notification belongs to. Only thread-kind notifications are returned.

get/rooms/{roomId}/threads/{threadId}/inbox-notifications

Request

  • Base URL: https://api.liveblocks.io/v2
  • URL: https://api.liveblocks.io/v2/rooms/{roomId}/threads/{threadId}/inbox-notifications
  • Auth: none declared

Path parameters

roomIdstring required

ID of the room

Example:my-room-id
threadIdstring required

ID of the thread

Example:th_abc123

Response

Success. Returns the inbox notifications for the thread.

Example response

{
  "data": [
    {
      "kind": "thread",
      "id": "in_abc123",
      "roomId": "my-room-id",
      "organizationId": "org_123456789",
      "threadId": "th_abc123",
      "notifiedAt": "2024-01-15T10:30:00.000Z",
      "readAt": null
    }
  ]
}

Changes