---
title: "List the members and pending invitations of a workspace (any member; any token scope)"
method: GET
path: "/api/workspaces/{slug}/people"
tags: ["Workspaces"]
---

# List the members and pending invitations of a workspace (any member; any token scope)

`GET /api/workspaces/{slug}/people`

## Request

- Base URL: `https://tre-app.com`
- URL: `https://tre-app.com/api/workspaces/{slug}/people`
- Auth: HTTP bearer

## Response `200`

Success

- WorkspacePeopleResponse
  - `members` object[], required
    - `userId` string, uuid, required
    - `email` string, email, required
    - `name` string, nullable, required
    - `image` string, nullable, required
    - `role` 'owner' | 'admin' | 'member', required
    - `joinedAt` string, date-time, required
  - `invitations` object[], required
    - `email` string, email, required
    - `role` 'owner' | 'admin' | 'member', required
    - `invitedByEmail` string, email, nullable, required
    - `createdAt` string, date-time, required
  - `yourRole` 'owner' | 'admin' | 'member', required

## Other responses

- `400`: Invalid request
- `401`: Unauthenticated
- `403`: Forbidden: insufficient role or token scope; scope denials name the held scope and the operation
- `404`: Not found
- `409`: Conflict
- `429`: Rate limited
- `500`: Internal server error
- `503`: Temporarily unavailable

---

[API](https://skmtc.dev/tre-app/apis/tre-rest-api.md) · [All operations](https://skmtc.dev/tre-app/apis/tre-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tre-app/apis/tre-rest-api/revisions/26a7187a05fc?raw)
