# social.colibri.beta.thread.listMembers

> Lists who belongs to a thread: the author of the message it was opened from, everyone who has posted in it, everyone mentioned in it directly or through a role, and everyone who follows it. Only current members who may read the thread are listed.

- Kind: query
- Authority: thread.beta.colibri.social
- Lexicon: 1
- Published by [colibri.social](https://lexicon.garden/identity/did:plc:mprdjqjluoswa7awzggaggj3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.thread.listMembers)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.thread.listMembers/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.thread.listMembers/analytics)

## Query (`social.colibri.beta.thread.listMembers`)

Type: query · GET

### Parameters (query string)

- `thread` (string · space-ref, required): The thread to list members of.

### Output (application/json)

- `members` (array, required): The thread's members: the anchor author first, then posters by most recent activity, then everyone else.
  - `items` (string · did): A member of the thread.

### Errors

- `AuthRequired`: The request has no valid service auth.
- `Forbidden`: The requesting user may not read this thread.
- `ThreadNotFound`: No thread matches the given space reference.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Lists who belongs to a thread: the author of the message it was opened from, everyone who has posted in it, everyone mentioned in it directly or through a role, and everyone who follows it. Only current members who may read the thread are listed.",
      "errors": [
        {
          "description": "The request has no valid service auth.",
          "name": "AuthRequired"
        },
        {
          "description": "The requesting user may not read this thread.",
          "name": "Forbidden"
        },
        {
          "description": "No thread matches the given space reference.",
          "name": "ThreadNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "members": {
              "description": "The thread's members: the anchor author first, then posters by most recent activity, then everyone else.",
              "items": {
                "description": "A member of the thread.",
                "format": "did",
                "type": "string"
              },
              "type": "array"
            }
          },
          "required": [
            "members"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "thread": {
            "description": "The thread to list members of.",
            "format": "space-ref",
            "type": "string"
          }
        },
        "required": [
          "thread"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.colibri.beta.thread.listMembers",
  "lexicon": 1
}
```
