---
title: "Who is on a team"
method: GET
path: "/api/v1/teams/{id}/members"
tags: ["Team"]
---

# Who is on a team

`GET /api/v1/teams/{id}/members`

## Request

- Base URL: `http://localhost:5180`
- URL: `http://localhost:5180/api/v1/teams/{id}/members`
- Auth: API key in cookie `better-auth.session_token`

Everybody who can open this team and what they may do here, plus every invitation still outstanding, and the live bank connections each of them made. Any member may read it.

## Path parameters

- `id` string, required

## Response `200`

The members.

- object
  - `ok` unknown, required
  - `data` object, required
    - `members` object[], required
      - `id` string, required
      - `teamId` string, required
      - `userId` string: Absent while an invitation to `pendingEmail` is outstanding.
      - `permissions` 'owner' | 'member', required
      - `pendingEmail` string
      - `invitedByUserId` string
      - `name` string, required
      - `email` string, required
      - `createdAt` string, required
      - `updatedAt` string, required
    - `connections` object[], required: The live bank connections people on this team made. Each reads on its maker’s consent, which only they can renew or end at Ponto, whoever is on the team.
      - `userId` string, required: Who made it, through their own login at Ponto.
      - `connectionId` string, required
      - `bank` string, nullable, required: The bank it reads, as the bank names itself.
      - `accessUntil` string, nullable, required: When the consent it reads under is expected to run out.
  - `meta` object, required
    - `requestId` string, required: Echoed in the x-request-id header. Quote it in a bug report.

## Other responses

- `403`: Not one of your teams.

---

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