---
raw: true
search:
  tags:
    - Teams
    - GET
seo:
  description: >-
    Returns the team's members with their roles, newest-first. Reference for the
    GET /v1/teams/{teamId}/members endpoint in the Spacefast API.
sidebar:
  label: List team members
  badge: GET
title: List team members
type: openapi-operation
---
Returns the team's members with their roles, newest-first.

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

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": [
    {
      "id": "string",
      "teamId": "string",
      "userId": "string",
      "role": "owner",
      "via": "direct",
      "createdAt": "2019-08-24T14:15:22Z",
      "user": {
        "id": "string",
        "name": "string",
        "email": "user@example.com",
        "image": "string"
      }
    }
  ],
  "pagination": {
    "nextCursor": "string",
    "hasMore": true
  }
}
```
