Microsoft Teams

Learn how to use Microsoft Teams with Composio

Overview

Enum

MICROSOFT_TEAMS

Description

Connect to Microsoft Teams to manage channels.

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
stringDefaults to https://backend.composio.dev/api/v1/auth-apps/add
scopes
stringDefaults to Channel.Create,Channel.ReadBasic.All,ChannelMessage.ReadWrite,ChannelMessage.Send,ChannelSettings.ReadWrite.All,Chat.Create,Chat.Read,Chat.ReadBasic,Chat.ReadWrite,Chat.ReadWrite.All,ChatMessage.Read,ChatMessage.Send,Directory.ReadWrite.All,Group.ReadWrite.All,offline_access,People.Read.All,Presence.ReadWrite,Team.Create,Team.ReadBasic.All,TeamMember.ReadWrite.All,TeamsActivity.Read,TeamsActivity.Send,User.Read,OnlineMeetings.ReadWrite

Actions

Retrieve a list of all chats that a user is part of in microsoft teams using the microsoft graph api.

Action Parameters

filter
string
select
array
top
integerDefaults to 50
user_id
stringDefaults to me

Action Response

data
object
error
successful
boolean

Retrieve all messages from a specific microsoft teams chat using the microsoft graph api.

Action Parameters

chat_id
stringRequired
filter
string
select
array
top
integerDefaults to 50

Action Response

data
object
error
successful
boolean

Creates a new online meeting in microsoft teams using the microsoft graph api. this creates a standalone meeting that isn’t associated with any event on the user’s calendar.

Action Parameters

end_date_time
stringRequired
is_passcode_required
boolean
participants
array
start_date_time
stringRequired
subject
stringRequired

Action Response

data
object
error
successful
boolean

Creates a new channel in a microsoft teams team using the microsoft graph api.

Action Parameters

description
string
membership_type
stringDefaults to standard
name
stringRequired
team_id
stringRequired

Action Response

data
object
error
successful
boolean

Creates a new microsoft teams chat (one-on-one or group) via ms graph. if a ‘oneonone’ chat already exists for the same 2 members, the existing chat is returned.

Action Parameters

chatType
stringRequired
members
arrayRequired
topic
string

Action Response

data
error
successful
boolean

Retrieve a specific message from a microsoft teams channel using the microsoft graph api.

Action Parameters

channel_id
stringRequired
message_id
stringRequired
team_id
stringRequired

Action Response

data
object
error
successful
boolean

Retrieves a list of all microsoft teams within the organization using the microsoft graph api.

Action Parameters

filter
string
select
string
top
integerDefaults to 100

Action Response

data
object
error
successful
boolean

Retrieves a list of channels within a microsoft teams team using the microsoft graph api.

Action Parameters

filter
string
include_shared_channels
boolean
select
string
team_id
stringRequired

Action Response

data
object
error
successful
boolean

Retrieves a list of messages from a microsoft teams chat using the microsoft graph api.

Action Parameters

chat_id
stringRequired
top
integerDefaults to 50

Action Response

data
object
error
successful
boolean

Retrieve a collection of person objects from microsoft graph people api. returns the raw json response in ‘response data’.

Action Parameters

filter
string
orderby
string
search
string
select
string
skip
integer
top
integer
user_id
stringDefaults to me

Action Response

data
object
error
successful
boolean

Posts a message to a channel in microsoft teams using the microsoft graph api.

Action Parameters

channel_id
stringRequired
content
stringRequired
content_type
stringDefaults to text
team_id
stringRequired

Action Response

data
object
error
successful
boolean

Posts a message to a chat in microsoft teams using the microsoft graph api.

Action Parameters

chat_id
stringRequired
content
stringRequired
content_type
stringDefaults to text

Action Response

data
object
error
successful
boolean

Posts a reply to a message in a microsoft teams channel using the microsoft graph api.

Action Parameters

channel_id
stringRequired
content
stringRequired
content_type
stringDefaults to text
message_id
stringRequired
team_id
stringRequired

Action Response

data
object
error
successful
boolean