Skip to content

Microsoft Teams

Access to Microsoft Teams via the Microsoft Graph API.

  • List joined teams and channels
  • Read and send channel messages
  • Access chat messages
  • View team members
GET /me/joinedTeams
GET /teams/{team-id}/channels
GET /teams/{team-id}/channels/{channel-id}/messages

Query params: $top, $skip

POST /teams/{team-id}/channels/{channel-id}/messages
Body: { "body": { "content": "Hello!" } }
GET /me/chats
GET /me/chats/{chat-id}/messages
  • Use the api_teams tool with path, method, and optional params
  • Base URL: https://graph.microsoft.com/v1.0

Required config.json:

{
"name": "Microsoft Teams",
"slug": "teams",
"enabled": true,
"provider": "microsoft",
"type": "api",
"api": {
"baseUrl": "https://graph.microsoft.com/v1.0/",
"authType": "bearer",
"microsoftService": "teams",
"testEndpoint": {
"method": "GET",
"path": "me/chats?$top=1"
}
},
"iconUrl": "https://res.cdn.office.net/files/fabric-cdn-prod_20241209.001/assets/brand-icons/product/svg/teams_48x1.svg"
}

Use source_microsoft_oauth_trigger to start the Microsoft OAuth flow.