Microsoft Teams
Microsoft Teams
Section titled “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
Common Endpoints
Section titled “Common Endpoints”List Joined Teams
Section titled “List Joined Teams”GET /me/joinedTeamsList Channels
Section titled “List Channels”GET /teams/{team-id}/channelsGet Channel Messages
Section titled “Get Channel Messages”GET /teams/{team-id}/channels/{channel-id}/messagesQuery params: $top, $skip
Send Channel Message
Section titled “Send Channel Message”POST /teams/{team-id}/channels/{channel-id}/messagesBody: { "body": { "content": "Hello!" } }List Chats
Section titled “List Chats”GET /me/chatsGet Chat Messages
Section titled “Get Chat Messages”GET /me/chats/{chat-id}/messagesGuidelines
Section titled “Guidelines”- Use the
api_teamstool withpath,method, and optionalparams - Base URL:
https://graph.microsoft.com/v1.0
Setup Guide
Section titled “Setup Guide”Configuration
Section titled “Configuration”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"}Authentication
Section titled “Authentication”Use source_microsoft_oauth_trigger to start the Microsoft OAuth flow.