---
title: "List team members"
method: GET
path: "/v1/teams/{teamId}/members"
tags: ["Teams"]
---

# List team members

`GET /v1/teams/{teamId}/members`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/teams/{teamId}/members`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.spacefast.com/v1/auth/oauth2/authorize`, token URL `https://api.spacefast.com/v1/auth/oauth2/token`; client credentials, token URL `https://api.spacefast.com/v1/auth/oauth2/token`, scopes: `teams:read`)

Returns the team's members with their roles, newest-first.

## Path parameters

- `teamId` string, required

## Query parameters

- `limit` integer: Page size.
- `cursor` string: Opaque cursor from the previous page's `nextCursor`.

## Response `200`

Response for status 200

- object
  - `$schema` string, uri: Canonical JSON Schema URL for this response body. The server also sends it in the `Link: rel="describedby"` response header.
  - `data` object[], required
    - `id` string, required: The membership id, stable for the life of the membership.
    - `teamId` string, required: The team this membership belongs to.
    - `userId` string, required: The member's user id.
    - `role` 'owner' | 'admin' | 'member', required: The member's role on the team.
    - `createdAt` string, date-time, required: Instant the member joined the team.
    - `user` object, nullable, required: The member's user record; null when the user row is unavailable.
      - `id` string, required: The member's user id.
      - `name` string, required: The member's display name.
      - `email` string, email, required: The member's email address.
      - `image` string, nullable, required: Avatar URL, or null when the user has none.
  - `pagination` object, required
    - `nextCursor` string, nullable, required: Opaque cursor for the next page; null when there are no more results.
    - `hasMore` boolean, required: Whether another page exists after this one.

## Other responses

- `default`: Problem details (RFC 9457). Any 4xx/5xx response is one `application/problem+json` document.

---

[API](https://skmtc.dev/spacefast/apis/spacefast-api.md) · [All operations](https://skmtc.dev/spacefast/apis/spacefast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spacefast/apis/spacefast-api/revisions/bd165bc7c983?raw)
