---
title: "Get all tenant-based handles"
method: GET
path: "/api/v2/integration/ms-teams/configuration/tenant-based-handles"
tags: ["Microsoft Teams Integration"]
---

# Get all tenant-based handles

`GET /api/v2/integration/ms-teams/configuration/tenant-based-handles`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handles`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Get a list of all tenant-based handles from the Datadog Microsoft Teams integration.

## Query parameters

- `tenant_id` string
- `name` string

## Response `200`

OK

- MicrosoftTeamsTenantBasedHandlesResponse: Response with a list of tenant-based handles.
  - `data` MicrosoftTeamsTenantBasedHandleInfoResponseData[], required: An array of tenant-based handles.
    - `attributes` MicrosoftTeamsTenantBasedHandleInfoResponseAttributes: Tenant-based handle attributes.
      - `channel_id` string: Channel id.
      - `channel_name` string: Channel name.
      - `name` string: Tenant-based handle name.
      - `team_id` string: Team id.
      - `team_name` string: Team name.
      - `tenant_id` string: Tenant id.
      - `tenant_name` string: Tenant name.
    - `id` string: The ID of the tenant-based handle.
    - `type` 'ms-teams-tenant-based-handle-info': Tenant-based handle resource type.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `412`: Failed Precondition
- `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)
