# List team members

`GET https://app.whatsetter.com/api/v1/team/members`

The workspace's members, owner first: the ids that `PATCH /leads/{id}`
accepts as `assigned_to`. `role` is the dashboard preset (`owner`,
`admin`, `editor`, `responder`, `viewer` or `custom`). Pending
invitations are not listed. No pagination (at most 200). Requires
scope `team:read`.

## Example request

```bash
curl --request GET \
  --url 'https://app.whatsetter.com/api/v1/team/members' \
  --header 'Authorization: Bearer ws_live_…'
```

## Responses

### 200: The members

```json
{
  "data": [
    {
      "id": "66a1f2c3d4e5f60718293a4b",
      "name": "Alexis Dubain",
      "email": "alexis@acme.com",
      "role": "owner",
      "is_owner": true
    },
    {
      "id": "66b2e3d4c5f6a7b8c9d0e1f2",
      "name": "Julien Martin",
      "email": "julien@acme.com",
      "role": "responder",
      "is_owner": false
    }
  ]
}
```

### 401: Missing, unknown or revoked API key

```json
{
  "error": {
    "code": "",
    "message": ""
  }
}
```

### 403: The key lacks the required scope (`insufficient_scope`), the plan does not have this part of the API (`not_in_plan`), or Instagram is not enabled on the workspace (`instagram_not_enabled`, Instagram routes)

```json
{
  "error": {
    "code": "",
    "message": ""
  }
}
```


Source: https://docs.whatsetter.com/api-reference/operations/listteammembers/
