---
title: "Create team connections"
method: POST
path: "/api/v2/team/connections"
tags: ["Teams"]
---

# Create team connections

`POST /api/v2/team/connections`

Create multiple team connections.

## Request body

- TeamConnectionCreateRequest — Request for creating team connections.
  - `data` TeamConnectionCreateData[], required — Array of team connections to create.
    - `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.
    - `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.

## Response `201`

Created

- 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
- `409` — Conflict
- `429` — Too many requests

---

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