---
title: "Get teams information by userId"
method: GET
path: "/teams-information/{id}"
tags: ["teams-information"]
---

# Get teams information by userId

`GET /teams-information/{id}`

## Request

- Base URL: `https://api.hoorayhr.io`
- URL: `https://api.hoorayhr.io/teams-information/{id}`
- Auth: one of:
  - API key in header `authorization`
  - API key in header `authorization`

Get company teams, team members, and team leaders by userId

## Path parameters

- `id` integer, required

## Response `200`

A list of teams, and the roles of the user in each team

- object[]
  - `userId` number: The user id
  - `teamId` number: The team id
  - `teamName` string: The team name
  - `isLeader` boolean: Indicates if the user is a team leader
  - `isMember` boolean: Indicates if the user is a team member

---

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