---
title: "Get all teams"
method: GET
path: "/legacyTeams"
tags: ["LegacyTeams"]
deprecated: true
---

# Get all teams

`GET /legacyTeams`

> **Deprecated.**

Returns data about teams within the company.

## Query parameters

- `order_by` 'id' | 'name' | 'manager_id' | 'active_flag'
- `skip_users` 0 | 1

## Response `200`

The list of team objects

- object
  - `success` boolean — If the response is successful or not
  - `data` object[]
    - `id` integer — The team ID
    - `name` string — The team name
    - `description` string — The team description
    - `manager_id` integer — The team manager ID
    - `users` integer[] — The list of user IDs
    - `active_flag` 0 | 1 — Flag that indicates whether the team is active
    - `deleted_flag` 0 | 1 — Flag that indicates whether the team is deleted
    - `add_time` string — The team creation time. Format: YYYY-MM-DD HH:MM:SS
    - `created_by_user_id` integer — The ID of the user who created the team

---

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