Comments

Get thread participants

Changed on

Deprecated. Prefer using thread subscriptions instead.

This endpoint returns the list of thread participants. It is a list of unique user IDs representing all the thread comment authors and mentioned users in comments. Corresponds to liveblocks.getThreadParticipants.

get/rooms/{roomId}/threads/{threadId}/participants

Request

  • Base URL: https://api.liveblocks.io/v2
  • URL: https://api.liveblocks.io/v2/rooms/{roomId}/threads/{threadId}/participants
  • 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 thread’s participants

participantIdsstring[] required

Example response

{
  "participantIds": [
    "user-1",
    "user-2"
  ]
}

Changes

    • info

      api operation id get-rooms-roomId-threads-threadId-participants removed and replaced with get-thread-participants

    • info

      api tag Comments added

    • info

      api tag Deprecated removed

    • info

      endpoint deprecated

    • info

      the response property became required for the status

    • info

      api tag Deprecated added

    • info

      api tag Comments removed