Skip to main content

Microsoft Teams API Endpoints

The Microsoft Graph API endpoints the Microsoft Teams integration uses.

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.com

  • API 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}/channels

Message 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}/messages

Create 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}/messages

Authorization 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

External References

Did this answer your question?