List Channel Tabs
Retrieve the list of tabs in a specific channel within a team using the Microsoft Teams API.
SKILL.md
Full skill instructions
List Channel Tabs
Retrieve the list of tabs in a specific channel within a team using the Microsoft Teams API.
API Details
- API Name: Microsoft Teams API
- OpenAPI Ref:
../../openapi/microsoft-teams-openapi.yaml - Endpoint:
GET /teams/{team-id}/channels/{channel-id}/tabs - operationId:
listTabs - Tag: Tabs
Sandbox
- Base URL:
http://localhost:8080/rest/microsoft-teams-api/1.0.0
Required Headers
Authorization: Bearer {access_token}
OAuth Scopes
TeamsTab.Read.All
Parameters
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| team-id | string | Yes | The unique identifier of the team |
| channel-id | string | Yes | The unique identifier of the channel |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| $filter | string | No | OData filter expression |
| $expand | string | No | OData expand expression |
Example Request
curl -X GET "http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams/{team-id}/channels/{channel-id}/tabs" \
-H "Authorization: Bearer {access_token}"
Example Response
{
"value": [
{
"id": "tab-id-001",
"displayName": "Project Wiki",
"webUrl": "https://teams.microsoft.com/l/entity/com.microsoft.teamspace.tab.wiki"
},
{
"id": "tab-id-002",
"displayName": "Task Board",
"webUrl": "https://teams.microsoft.com/l/entity/com.microsoft.teamspace.tab.planner"
}
]
}
Instructions
- Obtain a valid access token with the
TeamsTab.Read.Allscope. - Identify the
team-idandchannel-idfor the target channel. - Send a GET request to the endpoint with the required path parameters.
- Optionally include
$filteror$expandquery parameters to refine results. - Parse the response to retrieve the list of tabs in the channel.
