# Members API

> Reference for the 1 public v1 operations of the Members API, generated from the OpenAPI spec.

Source: https://docs.nexafone.so/v1/api/members/

Generated from `api/openapi.public.yaml`, the same spec the API serves. Try these operations in the [API console](/v1/api/console/); errors are [Problem Details](/v1/errors/).

## List the workspace's members

`GET /api/v1/workspaces/{workspaceId}/members`

| | |
| --- | --- |
| Operation id | `listMembers` |
| Authentication | A secret key (`sk_live_…` or `sk_test_…`), an SDK session token (`sdk_…`), or a secret partner key for one of the partner’s stores. |
| Permission (key scope) | `team:view` |
| Plan feature | `seats` |

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspaceId` | path | string | yes | Workspace id (UUID) |

### Responses

| Status | Description | Body |
| --- | --- | --- |
| 200 | OK | `application/json`: [ListMembersOutputBody](/v1/api/schemas/#listmembersoutputbody) |
| default | Error | `application/problem+json`: [Problem](/v1/api/schemas/#problem) |

### Example

```bash
curl -X GET "https://api.nexafone.so/api/v1/workspaces/{workspaceId}/members" \
  -H "Authorization: Bearer $NEXAFON_SECRET_KEY"
```
