Microsoft Teams (version v1.*.*)

create_channel#

Create a new channel in a team, as specified in the request body. https://docs.microsoft.com/en-us/graph/api/channel-post?view=graph-rest-1.0

Parameters

team_id (required)#

key: team_id

Type: string

$body#

Type: object

{
"membershipType" : "Defaults to standard.",
"displayName" : "Required string",
"description" : "Optional channel description."
}

create_channel_message#

(Beta) Create a new chatMessage in the specified channel. https://docs.microsoft.com/en-us/graph/api/channel-post-message?view=graph-rest-beta

Parameters

channel_id (required)#

Type: string

team_id (required)#

Type: string

$body#

Type: object

{
"body" : {
"contentType" : "string. Possible values: text | html",
"content" : "string"
}
}

create_channel_message_reply#

Create a new reply to a message in a specified channel. https://docs.microsoft.com/en-us/graph/api/channel-post-messagereply?view=graph-rest-1.0

Parameters

channel_id (required)#

Type: string

message_id (required)#

Type: string

team_id (required)#

Type: string

$body#

Type: object

{
"body" : {
"contentType" : "string. Possible values: text | html",
"content" : "string"
}
}

get_channel_message#

(Beta) Retrieve a single message (without its replies) in a channel of a team. https://docs.microsoft.com/en-us/graph/api/channel-get-message?view=graph-rest-beta

Parameters

channel_id (required)#

Type: string

message_id (required)#

Type: string

team_id (required)#

Type: string

get_channel_message_reply#

(Beta) Get a single reply to a message in a channel of a team. https://docs.microsoft.com/en-us/graph/api/channel-get-messagereply?view=graph-rest-beta

Parameters

channel_id (required)#

Type: string

message_id (required)#

Type: string

reply_id (required)#

Type: string

team_id (required)#

Type: string

get_chat_for_user#

(Beta) Retrieve a single chat (without its messages). https://docs.microsoft.com/en-us/graph/api/chat-get?view=graph-rest-beta

Parameters

chat_id (required)#

Type: string

user_id (required)#

Type: string

get_chat_message_for_user#

(Beta) Retrieve a single message in a chat. https://docs.microsoft.com/en-us/graph/api/chat-get-message?view=graph-rest-beta

Parameters

chat_id (required)#

Type: string

message_id (required)#

Type: string

user_id (required)#

Type: string

get_me#

Retrieve the properties and relationships of the authenticated user. https://docs.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0

Parameters

$select#

Select properties to be returned

Type: array

[ "string" ]

get_user#

Retrieve the properties and relationships of a user. https://docs.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0

Parameters

user_id (required)#

key: user_id

Type: string

$select#

Select properties to be returned

Type: array

[ "string" ]

list_channel_message_replies#

(Beta) List all the replies of a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. https://docs.microsoft.com/en-us/graph/api/channel-list-messagereplies?view=graph-rest-beta

Parameters

channel_id (required)#

Type: string

message_id (required)#

Type: string

team_id (required)#

Type: string

$top#

Show only the first n items

Type: integer

list_channel_messages#

(Beta) Retrieve the list of messages (without the replies) in a channel of a team. https://docs.microsoft.com/en-us/graph/api/channel-list-messages?view=graph-rest-beta

Parameters

channel_id (required)#

Type: string

team_id (required)#

Type: string

$top#

Show only the first n items

Type: integer

list_channels#

List a team's channels. https://docs.microsoft.com/en-us/graph/api/channel-list?view=graph-rest-1.0

Parameters

team_id (required)#

key: team_id

Type: string

$expand#

Expand related entities

Type: array

[ "string" ]

$filter#

Filter items by property values

Type: string

$select#

Select properties to be returned

Type: array

[ "string" ]

list_chat_messages#

(Beta) Retrieve the list of messages in a chat. https://docs.microsoft.com/en-us/graph/api/chat-list-message?view=graph-rest-beta

Parameters

chat_id (required)#

Type: string

list_chat_messages_for_user#

(Beta) Retrieve the list of messages in a chat. https://docs.microsoft.com/en-us/graph/api/chat-list-message?view=graph-rest-beta

Parameters

chat_id (required)#

Type: string

user_id (required)#

Type: string

list_chats#

This operation has no parameters

list_chats_for_user#

(Beta) Retrieve the list of chats that the user is part of. https://docs.microsoft.com/en-us/graph/api/chat-list?view=graph-rest-beta

Parameters

user_id (required)#

Type: string

list_groups#

List all the groups in an organization, including but not limited to Microsoft 365 groups. https://docs.microsoft.com/en-us/graph/api/group-list?view=graph-rest-1.0

Parameters

$filter#

Filter items by property values

Type: string

$orderby#

Order items by property values

Type: array

[ "string" ]

list_my_chats#

This operation has no parameters

list_my_teams#

This operation has no parameters

list_teams_for_user#

Get the teams in that the user is a direct member of. https://docs.microsoft.com/en-us/graph/api/user-list-joinedteams?view=graph-rest-1.0

Parameters

user_id (required)#

key: user_id

Type: string