---
title: "Get links for a team"
method: GET
path: "/api/v2/team/{team_id}/links"
tags: ["Teams"]
---

# Get links for a team

`GET /api/v2/team/{team_id}/links`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/team/{team_id}/links`
- 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`

Get all links for a given team.

## Path parameters

- `team_id` string, required

## Response `200`

OK

- TeamLinksResponse: Team links response
  - `data` TeamLink[]: Team links response data
    - `attributes` TeamLinkAttributes, required: Team link attributes
      - `label` string, required: The link's label
      - `position` integer: The link's position, used to sort links for the team
      - `team_id` string: ID of the team the link is associated with
      - `url` string, required: The URL for the link
    - `id` string, required: The team link's identifier
    - `type` 'team_links', required: Team link type

## Other responses

- `403`: Forbidden
- `404`: API error response.
- `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)
