# List members

`members_list`

The people in the workspace and the invitations still waiting for an answer.

Needs the scope: `workspace:read`

## Arguments

- `q` (string): Text to search for. Only items that contain it are returned. Up to 40 characters.
- `limit` (integer): How many items to return, from 1 to 100. Without it you get 25.
- `offset` (integer): How many items to skip. Use it with `limit` to read the next page. Default: `0`.
- `after` (string): The id of the last item you have. The answer starts with the item that follows it, which reads a long list without skipping or repeating when it changes meanwhile. Up to 64 characters.
- `before` (string): The id of the first item you have. The answer ends with the item just before it. Give this or `after`, not both. Up to 64 characters.
- `role` (string): Only members with this role. One of: `owner`, `admin`, `member`, `viewer`.
- `status` (string): Only members in this state: `active` or `invited`. One of: `active`, `invited`.

## Returns

The answer comes back under `structuredContent`, with the same JSON as text in `content`. A call the API refuses comes back with `isError` set, and the code and the message under `structuredContent.error`. [MCP](https://opensend.sh/docs/mcp) shows how to connect a client.

- `object` ("list"): Always `list`.
- `data` (object[]): The items on this page.
- `data[].object` ("member"): Always `member`.
- `data[].id` (string): The id of the member.
- `data[].name` (string): The name of the person.
- `data[].email` (string): The address of the person.
- `data[].role` (string): What the member may do: `owner`, `admin`, `member` or `viewer`. One of: `owner`, `admin`, `member`, `viewer`.
- `data[].status` (string): `invited` until the person signs in, `active` after that. One of: `active`, `invited`.
- `data[].invitedBy` (string): The name of who invited them.
- `data[].invitedAt` (string | null): When the invitation was sent, or `null` for the person who made the workspace.
- `data[].lastActiveAt` (string | null): When the member last used the workspace, or `null`.
- `data[].invitationUrl` (string | null): A link that lets an invited person choose a password and join without an emailed code, or `null`. Only the owner of a server a team hosts itself is given it, signed in, while the invitation is waiting.
- `data[].createdAt` (string): When the member was added.
- `total` (integer): How many items match in all, on every page together.
- `hasMore` (boolean): Whether more items follow this page.

## Example

MCP:

```json
{
  "name": "members_list",
  "arguments": {
    "status": "invited"
  }
}
```

Answer, under structuredContent:

```json
{
  "object": "list",
  "data": [
    {
      "object": "member",
      "id": "mem_katherine",
      "name": "katherine@example.org",
      "email": "katherine@example.org",
      "role": "member",
      "status": "invited",
      "invitedBy": "Ada Lovelace",
      "invitedAt": "2026-11-25T09:30:00.000Z",
      "lastActiveAt": null,
      "invitationUrl": null,
      "createdAt": "2026-11-25T09:30:00.000Z"
    }
  ],
  "total": 1,
  "hasMore": false
}
```
