---
title: "List workspace members"
method: GET
path: "/api/v1/workspaces/{workspaceId}/members"
tags: ["Workspaces"]
---

# List workspace members

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

## Request

- Base URL: `https://otprun.com`
- URL: `https://otprun.com/api/v1/workspaces/{workspaceId}/members`
- Auth: HTTP bearer

## Path parameters

- `workspaceId` integer, required

## Query parameters

- `cursor` string
- `limit` integer

## Response `200`

OK

- MembersOutputBody
  - `items` MemberBody[], nullable, required
    - `created_at` string, date-time, required
    - `email` string, required: Empty for members who sign in with a phone number
    - `name` string, required
    - `phone` string, nullable, required: Masked phone number of members who sign in with a phone number
    - `public_id` string, uuid, required
    - `role` 'owner' | 'admin' | 'developer' | 'viewer', required
    - `user_id` integer, required
  - `next_cursor` string

## Other responses

- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/otprun/apis/otp-run-api.md) · [All operations](https://skmtc.dev/otprun/apis/otp-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/otprun/apis/otp-run-api/revisions/43d40d5f4050?raw)
