---
title: "List teams"
method: GET
path: "/v1/teams"
tags: ["Teams"]
---

# List teams

`GET /v1/teams`

This endpoint allows you to list all the teams of your workspace.

The response contains the list of teams and a pagination cursor to retrieve the next page.

The teams are sorted by id.

If you are using a personal access token, you need to have an access level superior or equal to `member`.

## Query parameters

- `cursor` string
- `per_page` integer
- `is_global` boolean — Filter on/exclude the "All-incidents" team.
- `search` string — Search teams based on their name and/or description.
- `linked_to_an_external_provider` boolean — Filter on/exclude teams that are linked to an external provider.

## Response `200`

List teams

- object[]
  - `id` integer
  - `name` string
  - `description` string, nullable — team description.
  - `is_global` boolean
  - `gitguardian_url` string
  - `external_provider_id` string, nullable — ID of the external provider associated to the team.

## Other responses

- `400` — Invalid data
- `401` — Invalid API key
- `403` — Forbidden Call
- `503` — API under maintenance

---

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