API Endpoints Intro
The Microsoft Teams integration communicates with the Microsoft Graph REST API. All requests use JSON over HTTPS.
Base URL:
https://graph.microsoft.comAPI version path:
/v1.0
The base URL is set in the subscription's API URL setting. The endpoints below use [Base URL] as the environment-agnostic prefix.
Table of Contents
Channel Endpoints
Message Endpoints
Authorization Endpoint
Channel Endpoints
List Channels in a Team (GET)
Used to resolve a channel by its display name when a message is delivered to a channel. {TeamsGroupId} is the team identified by the Teams Group ID subscription setting.
[Base URL]/v1.0/teams/{TeamsGroupId}/channelsMessage Endpoints
Create a Channel Message (POST)
Posts a new message to a specific channel in the team. {ChannelId} is the channel resolved for the message.
[Base URL]/v1.0/teams/{TeamsGroupId}/channels/{ChannelId}/messagesCreate a Chat Message (POST)
Posts a new message to a specific chat. {ChatId} is the chat the message is delivered to.
[Base URL]/v1.0/chats/{ChatId}/messagesAuthorization Endpoint
Microsoft Teams uses OAuth. iPaaS.com obtains and refreshes the access token from the Microsoft identity platform token endpoint:
https://login.microsoftonline.com/common/oauth2/v2.0/token
Related Documents
