---
title: "Get all teams for a company"
method: GET
path: "/teams"
tags: ["Teams"]
deprecated: true
---

# Get all teams for a company

`GET /teams`

> **Deprecated.**

## Query parameters

- `pageOffset` number
- `pageSize` number

## Response `200`

Teams have been returned

- TeamsResponse
  - `teams` object[], required — A list of teams fetched for the requested page
    - `id` string, required — The unique UUID identifier of the department
    - `name` string, required — Name of the department
    - `code` string — Code of the department
    - `employees` object[] — Team employee
      - `id` string, required — The unique UUID identifier of the employee
      - `firstName` string — Employee first name
      - `lastName` string — Employee last name
      - `email` string — Email
      - `jobTitle` string — Job title
      - `role` string — Role
      - `phone` string — Phone number
      - `avatar` object
        - `url` string — Employee avatar location
      - `code` string — External Id
      - `teamId` string — Team identifier
    - `reviewers` object[] — Team reviewers
      - `id` string, required — The unique UUID identifier of the employee
      - `firstName` string — Employee first name
      - `lastName` string — Employee last name
      - `email` string — Email
      - `jobTitle` string — Job title
      - `role` string — Role
      - `phone` string — Phone number
      - `avatar` object
        - `url` string — Employee avatar location
      - `code` string — External Id
      - `teamId` string — Team identifier

## Other responses

- `401` — request unauthorized
- `403` — Request forbidden; user has insufficient rights to a resource.
- `404` — route not found
- `500` — Something went wrong. Please contact the administrator if problems persist.

---

[API](https://skmtc.net/pleo/apis/gjoll-api.md) · [All operations](https://skmtc.net/pleo/apis/gjoll-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pleo/gjoll-api/versions/c70cd21dc330/schema)
