---
title: "List team connections"
method: GET
path: "/api/v2/team/connections"
tags: ["Teams"]
---

# List team connections

`GET /api/v2/team/connections`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/team/connections`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `teams_read`

Returns all team connections.

## Query parameters

- `page[size]` integer
- `page[number]` integer
- `filter[sources]` string[]
- `filter[team_ids]` string[]
- `filter[connected_team_ids]` string[]
- `filter[connection_ids]` string[]

## Response `200`

OK

- TeamConnectionsResponse: Response containing information about multiple team connections.
  - `data` TeamConnection[]: Array of team connections.
    - `attributes` TeamConnectionAttributes: Attributes of the team connection.
      - `managed_by` string: The entity that manages this team connection.
      - `source` string: The name of the external source.
    - `id` string, required: The unique identifier of the team connection.
    - `relationships` TeamConnectionRelationships: Relationships of the team connection.
      - `connected_team` ConnectedTeamRef: Reference to a team from an external system.
        - `data` ConnectedTeamRefData: Reference to connected external team.
          - `id` string, required: The connected team ID as it is referenced throughout the Datadog ecosystem.
          - `type` 'github_team', required: External team resource type.
      - `team` TeamRef: Reference to a Datadog team.
        - `data` TeamRefData: Reference to a Datadog team.
          - `id` string, required: The Datadog team ID.
          - `type` 'team', required: Datadog team resource type.
    - `type` 'team_connection', required: Team connection resource type.
  - `meta` ConnectionsResponseMeta: Connections response metadata.
    - `page` ConnectionsPagePagination: Page-based pagination metadata.
      - `first_number` integer: The first page number.
      - `last_number` integer: The last page number.
      - `next_number` integer, nullable: The next page number.
      - `number` integer: The current page number.
      - `prev_number` integer, nullable: The previous page number.
      - `size` integer: The page size.
      - `total` integer: Total connections matching request.
      - `type` string: Pagination type.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
