# List members

`opensend members list`

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

Needs the scope: `workspace:read`

## Flags

- `--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 command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. [Output and scripts](https://opensend.sh/docs/scripting) lists the codes.

- `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

CLI:

```bash
opensend members list --status invited
```

Answer:

```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
}
```
