Docs
/
/

List teams

Get a list of teams belonging to the Microsoft Entra tenant. By default, archived and private channels are excluded from the results.

List teams

Get a list of teams belonging to the Microsoft Entra tenant. By default, archived and private channels are excluded from the results.

Endpoint

GET/v1/providers/ms-teams/{channel_id}/teams

Rate limit

Tier 2

Path parameters

channel_id
string

The ID of the Knock Microsoft Teams channel to get teams for.

Query parameters

ms_teams_tenant_object
string

A JSON encoded string containing the Microsoft Teams tenant object reference.

query_options.$filter
string

OData param passed to the Microsoft Graph API to filter teams.

query_options.$select
string

OData param passed to the Microsoft Graph API to select fields on a team.

query_options.$top
integer

OData param passed to the Microsoft Graph API to limit the number of teams returned.

query_options.$skiptoken
string

OData param passed to the Microsoft Graph API to retrieve the next page of results.

Returns

TeamsForMsTeamsProviderResponse

The response from a Microsoft Teams provider request, containing a list of teams.

ms_teams_teams
object[]

List of Microsoft Teams teams.

description
string

Microsoft Teams team description.

displayName
string
Required

Microsoft Teams team display name.

id
string
Required

Microsoft Teams team ID.

skip_token
string

OData param passed to the Microsoft Graph API to retrieve the next page of results.

New chat