---
title: "Find Teams for User"
method: GET
path: "/api/v1/org/{orgId}/user/{userId}/teams"
tags: ["Organization Teams"]
---

# Find Teams for User

`GET /api/v1/org/{orgId}/user/{userId}/teams`

## Find Teams for User
Find the teams that this user is assigned to in this organization. Only the currently authenticated user can be referenced as the userId URL parameter.


> Requires `read:team` permission.

## Path parameters

- `orgId` string, uuid, required
- `userId` string, uuid, required

## Query parameters

- `pageToken` integer
- `pageSize` integer

## Response `200`

Paginated response of teams.

- OrganizationListTeamsResponse — Paginated response of teams.
  - `nextPageToken` string — pageToken to provide for the next page of results.
  - `teams` OrganizationTeam[] — found list of teams.
    - `applications` OrganizationTeamApplication[] — The applications that belong to this Team.
      - `applicationId` string
      - `applicationName` string
      - `environments` string[]
      - `lastScanTimestamp` integer
    - `id` string — The UUID identifier of this team.
    - `name` string — The name of this team.
    - `organizationId` string — The StackHawk organization that owns this Team.
    - `users` OrganizationTeamUser[] — The users that are members of this Team.
      - `email` string
      - `role` string
      - `userId` string
      - `userName` string
  - `totalCount` integer — total number of results.

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.dev/stackhawk/apis/stackhawk-public-api.md) · [All operations](https://skmtc.dev/stackhawk/apis/stackhawk-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stackhawk/stackhawk-public-api/revisions/8252990ac9eb/schema)
