Microsoft Outlook Groups.team API

The groups.team API from Microsoft Outlook — 52 operation(s) for groups.team.

GitHub OpenAPI

Operations 84

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /groups/{group-id}/team/channels/{channel-id}/messages List messages in a team channel · Get messages from groups #
Ask an LLM
“What messages have been posted in a Teams channel?”
“Can I filter a channel's messages by sender or date?”
Tell an agent
List messages in channel {channel} of group {group}.
Show {top} messages in channel {channel} of group {group} matching {filter}.
POST /groups/{group-id}/team/channels/{channel-id}/messages Post a message in a team channel · Create new navigation property to messages for groups #
Ask an LLM
“How do I post a message in a Teams channel?”
“Can I attach files or set importance when posting a channel message?”
Tell an agent
Post a message in channel {channel} of group {group}.
Send a {importance} message in channel {channel} of group {group}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id} Get a message in a team channel · Get messages from groups #
Ask an LLM
“How do I read one message from a Teams channel?”
“What sender and timestamp does a specific channel message have?”
Tell an agent
Get message {message} in channel {channel} of group {group}.
Show the sender and timestamp of channel message {message} in group {group}, channel {channel}.
PATCH /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id} Edit a message in a team channel · Update the navigation property messages in groups #
Ask an LLM
“How do I edit a message I posted in a Teams channel?”
“Can I change the subject of an existing channel message?”
Tell an agent
Edit message {message} in channel {channel} of group {group}.
Change the subject of channel message {message} in group {group}, channel {channel}.
DELETE /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id} Delete a message from a team channel · Delete navigation property messages for groups #
Ask an LLM
“How do I delete a message from a Teams channel?”
“Can I remove a single channel message by its ID?”
Tell an agent destructive · confirm first
Delete message {message} from channel {channel} in group {group}.
Remove channel message {message} in group {group}, channel {channel}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/hostedContents List hosted content in a message · Get hostedContents from groups #
Ask an LLM
“What images or code snippets are hosted inside a Teams message?”
“Can I see all hosted content attached to one channel message?”
Tell an agent
List hosted content in message {message} of channel {channel} in group {group}.
Show the hosted files attached to channel message {message} in group {group}, channel {channel}.
POST /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/hostedContents Host content inside a message · Create new navigation property to hostedContents for groups #
Ask an LLM
“How do I upload an image into a Teams message?”
“Can I attach a code snippet as hosted content to a channel message?”
Tell an agent
Host content in message {message} of channel {channel} in group {group}.
Add a hosted image to channel message {message} in group {group}, channel {channel}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} Get hosted content in a message · Get hostedContents from groups #
Ask an LLM
“How do I fetch one hosted attachment from a Teams message?”
“What type and size does a specific hosted content item in a channel message have?”
Tell an agent
Get hosted content {content} in message {message} of channel {channel} in group {group}.
Show hosted attachment {content} of channel message {message} in group {group}, channel {channel}.
PATCH /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} Edit hosted content in a message · Update the navigation property hostedContents in groups #
Ask an LLM
“How do I change the type of hosted content inside a Teams message?”
“Can I update the metadata of an attachment hosted in a channel message?”
Tell an agent
Update hosted content {content} in message {message} of channel {channel} in group {group}.
Change the type of hosted attachment {content} in channel message {message} in group {group}, channel {channel}.
DELETE /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} Delete hosted content from a message · Delete navigation property hostedContents for groups #
Ask an LLM
“How do I remove an image from a Teams message?”
“Can I delete a hosted attachment inside a channel message?”
Tell an agent destructive · confirm first
Delete hosted content {content} from message {message} in channel {channel} of group {group}.
Remove hosted attachment {content} from channel message {message} in group {group}, channel {channel}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value Download hosted content from a message · Get media content for the navigation property hostedContents from groups #
Ask an LLM
“How do I download the image hosted inside a Teams message?”
“Can I fetch the raw bytes of hosted content in a channel message?”
Tell an agent
Download hosted content {content} from message {message} in channel {channel} of group {group}.
Get the bytes of hosted attachment {content} in channel message {message} in group {group}, channel {channel}.
PUT /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value Replace hosted content in a message · Update media content for the navigation property hostedContents in groups #
Ask an LLM
“How do I replace an image hosted in a Teams message?”
“Can I upload new bytes for an existing hosted attachment in a channel message?”
Tell an agent
Replace hosted content {content} in message {message} of channel {channel} in group {group}.
Upload new bytes for hosted attachment {content} in channel message {message} in group {group}, channel {channel}.
DELETE /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value Delete hosted content from a channel message · Delete media content for the navigation property hostedContents in groups #
Ask an LLM
“How do I delete a hosted image or code snippet from a Teams channel message?”
“Can I remove just the attachment media from a channel chat message?”
Tell an agent destructive · confirm first
Delete the hosted content {content} from message {message} in channel {channel} on team {group}.
Remove media {content} attached to message {message} in group {group}, channel {channel}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/$count Count hosted content in a message · Get the number of the resource #
Ask an LLM
“How many hosted attachments does a Teams message have?”
“Can I count hosted content in a channel message matching a filter?”
Tell an agent
Count hosted content in message {message} of channel {channel} in group {group}.
Count hosted attachments in channel message {message} in group {group}, channel {channel} matching {filter}.
POST /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/setReaction React to a message in a channel · Invoke action setReaction #
Ask an LLM
“How do I react to a message in a Teams channel?”
“Can I add a like reaction to a channel message?”
Tell an agent
React {reaction} to message {message} in channel {channel} of group {group}.
Like channel message {message} in group {group}, channel {channel}.
POST /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/softDelete Soft-delete a message in a channel · Invoke action softDelete #
Ask an LLM
“How do I delete a message from a Teams channel without removing it permanently?”
“Can I soft-delete a channel message reply?”
Tell an agent destructive · confirm first
Soft-delete message {message} in channel {channel} of group {group}.
Remove channel message {message} from group {group}, channel {channel}, keeping it recoverable.
POST /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/undoSoftDelete Undo a soft-deleted message · Invoke action undoSoftDelete #
Ask an LLM
“How do I bring back a message I soft-deleted in a Teams channel?”
“Can I restore a deleted channel message reply?”
Tell an agent
Undo the soft-delete of message {message} in channel {channel} of group {group}.
Restore channel message {message} in group {group}, channel {channel}.
POST /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/unsetReaction Remove a reaction from a message · Invoke action unsetReaction #
Ask an LLM
“How do I take back a reaction I added to a Teams message?”
“Can I remove a specific reaction type from a channel message?”
Tell an agent
Unset reaction {reaction} from message {message} in channel {channel} of group {group}.
Remove my like from channel message {message} in group {group}, channel {channel}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies List replies to a message · Get replies from groups #
Ask an LLM
“What replies have been posted to a Teams message?”
“Can I see every reply to a channel message?”
Tell an agent
List replies to message {message} in channel {channel} of group {group}.
Show all replies on channel message {message} in group {group}, channel {channel}.
POST /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies Reply to a message in a channel · Create new navigation property to replies for groups #
Ask an LLM
“How do I reply to a message in a Teams channel?”
“Can I attach files when replying to a channel message?”
Tell an agent
Reply to message {message} in channel {channel} of group {group}.
Add a reply with attachments to channel message {message} in group {group}, channel {channel}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1} Get a reply to a channel message · Get replies from groups #
Ask an LLM
“Who replied to a particular message in my team's channel?”
“Can I read one reply from a channel chat message?”
Tell an agent
Get reply {reply} to message {message} in channel {channel} on team {group}.
Show the one channel reply {reply} on message {message} in group {group}, channel {channel}.
PATCH /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1} Edit a reply to a channel message · Update the navigation property replies in groups #
Ask an LLM
“How do I edit a teammate's reply to a channel message?”
“Can I change the text of a reply on a channel chat message?”
Tell an agent
Edit reply {reply} to message {message} in channel {channel} on team {group}.
Update the channel reply {reply} on message {message} in group {group}, channel {channel}.
DELETE /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1} Delete a reply to a channel message · Delete navigation property replies for groups #
Ask an LLM
“How do I delete a reply a teammate left on my channel message?”
“Can I remove a single reply to a channel chat message?”
Tell an agent destructive · confirm first
Delete reply {reply} to message {message} in channel {channel} on team {group}.
Remove the one channel reply {reply} on message {message} in group {group}, channel {channel}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents List hosted content in a reply · Get hostedContents from groups #
Ask an LLM
“What hosted content is attached to a reply?”
“Can I filter the hosted content in a message reply?”
Tell an agent
List hosted content in reply {reply} to message {message} in channel {channel}, group {group}.
Show hosted content in reply {reply} on message {message} in channel {channel}, group {group}.
POST /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents Add hosted content to a reply · Create new navigation property to hostedContents for groups #
Ask an LLM
“How do I attach a file or image to a reply?”
“Can I add hosted content to a message reply?”
Tell an agent
Add hosted content to reply {reply} on message {message} in channel {channel}, group {group}.
Attach a file to reply {reply} of message {message} in channel {channel}, group {group}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} Get hosted content in a reply · Get hostedContents from groups #
Ask an LLM
“How do I fetch one hosted attachment from a reply?”
“Can I read the content of a hosted file in a reply?”
Tell an agent
Get hosted content {content} in reply {reply} to message {message} in channel {channel}, group {group}.
Show hosted attachment {content} from reply {reply} on message {message} in channel {channel}, group {group}.
PATCH /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} Update hosted content in a reply · Update the navigation property hostedContents in groups #
Ask an LLM
“How do I edit hosted content in a reply?”
“Can I change the type of hosted content on a reply?”
Tell an agent
Update hosted content {content} in reply {reply} on message {message} in channel {channel}, group {group}.
Change the type of hosted attachment {content} in reply {reply} to message {message} in channel {channel}, group {group}.
DELETE /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} Remove hosted content from a reply · Delete navigation property hostedContents for groups #
Ask an LLM
“How do I remove an attachment from a reply?”
“Can I delete hosted content in a message reply?”
Tell an agent destructive · confirm first
Delete hosted content {content} from reply {reply} on message {message} in channel {channel}, group {group}.
Remove attachment {content} from reply {reply} to message {message} in channel {channel}, group {group}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value Download hosted content from a reply · Get media content for the navigation property hostedContents from groups #
Ask an LLM
“How do I download the file attached to a reply?”
“Can I fetch the raw media of hosted content in a reply?”
Tell an agent
Download hosted content {content} from reply {reply} on message {message} in channel {channel}, group {group}.
Get the media of hosted attachment {content} in reply {reply} to message {message} in channel {channel}, group {group}.
PUT /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value Replace hosted content in a reply · Update media content for the navigation property hostedContents in groups #
Ask an LLM
“How do I upload a new file to a reply's hosted content?”
“Can I overwrite hosted media on a reply?”
Tell an agent
Replace hosted content {content} in reply {reply} on message {message} in channel {channel}, group {group}.
Upload a new file to hosted attachment {content} in reply {reply} to message {message} in channel {channel}, group {group}.
DELETE /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value Delete hosted content from a message reply · Delete media content for the navigation property hostedContents in groups #
Ask an LLM
“How do I delete an image attached to a message reply in a channel?”
“Can I remove the hosted content from a reply?”
Tell an agent destructive · confirm first
Delete hosted content {content} from reply {reply} on message {message} in channel {channel}, team {group}.
Remove the attachment media {content} from reply {reply} to message {message} in group {group}, channel {channel}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count Count hosted content in a reply · Get the number of the resource #
Ask an LLM
“How many hosted attachments are in a reply?”
“Can I count hosted content on a message reply?”
Tell an agent
Count hosted content in reply {reply} to message {message} in channel {channel}, group {group}.
Count attachments in reply {reply} on message {message} in channel {channel}, group {group}.
POST /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction React to a message reply in a channel · Invoke action setReaction #
Ask an LLM
“How do I react to a reply a teammate left on my channel message?”
“Can I set an emoji reaction on a channel reply?”
Tell an agent
React {reaction} to reply {reply} on message {message} in channel {channel}, team {group}.
Add the {reaction} reaction to reply {reply} on message {message} in group {group}, channel {channel}.
POST /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete Soft-delete a message reply in a channel · Invoke action softDelete #
Ask an LLM
“How do I remove a reply to a channel message without deleting it permanently?”
“Can I soft-delete just one reply on a channel chat message?”
Tell an agent destructive · confirm first
Soft-delete reply {reply} on message {message} in channel {channel}, team {group}.
Mark reply {reply} to message {message} in group {group}, channel {channel} as soft-deleted.
POST /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete Restore a soft-deleted reply · Invoke action undoSoftDelete #
Ask an LLM
“How do I bring back a reply I soft deleted?”
“Can I undo a soft delete of a message reply?”
Tell an agent
Undo the soft delete of reply {reply} on message {message} in channel {channel}, group {group}.
Restore reply {reply} to message {message} in channel {channel}, group {group}.
POST /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction Unreact to a message reply in a channel · Invoke action unsetReaction #
Ask an LLM
“How do I remove my reaction from a reply on a channel message?”
“Can I clear a specific emoji reaction on a channel reply?”
Tell an agent
Unreact {reaction} from reply {reply} on message {message} in channel {channel}, team {group}.
Clear the {reaction} reaction on reply {reply} to message {message} in group {group}, channel {channel}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/$count Count replies to a message · Get the number of the resource #
Ask an LLM
“How many replies does a message have?”
“Can I count replies to a message in a channel?”
Tell an agent
Count replies to message {message} in channel {channel}, group {group}.
Count replies on message {message} in channel {channel}, group {group}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/delta() Track changes to replies · Invoke function delta #
Ask an LLM
“How do I get new replies to a message since my last sync?”
“Can I use a delta query to track replies in a channel?”
Tell an agent
Track changes to replies on message {message} in channel {channel}, group {group}.
Get new replies to message {message} in channel {channel}, group {group}.
POST /groups/{group-id}/team/channels/{channel-id}/messages/{chatMessage-id}/replies/replyWithQuote Reply in a thread quoting earlier messages · Invoke action replyWithQuote #
Ask an LLM
“Can I quote earlier messages when I answer inside the thread of a channel post?”
“What do I send to quote one or more messages in a threaded reply under a Teams channel message?”
Tell an agent
Quote {quoted_messages} in a reply under message {message} in channel {channel} of team {group}.
Under message {message} in channel {channel}, group {group}, post a quoted reply saying {reply_text}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/$count Count messages in a channel · Get the number of the resource #
Ask an LLM
“How many messages are in my team's channel?”
“Can I count only the channel messages matching a filter?”
Tell an agent
Count the messages in channel {channel} on team {group}.
Count channel messages in group {group}, channel {channel} matching {filter}.
GET /groups/{group-id}/team/channels/{channel-id}/messages/delta() Track new or updated messages in a channel · Invoke function delta #
Ask an LLM
“How do I get new messages from a Teams channel since my last sync?”
“Can I track changes to messages in a channel over time with a delta query?”
Tell an agent
Get new messages from channel {channel} in group {group}.
Track changes to messages in channel {channel} of group {group} with a delta query.
POST /groups/{group-id}/team/channels/{channel-id}/messages/replyWithQuote Reply to messages with a quoted reply · Invoke action replyWithQuote #
Ask an LLM
“How do I quote a message when replying to it in a Teams channel?”
“Can I reply to several messages at once with a quoted reply?”
Tell an agent
Reply with quote to messages {messageIds} in channel {channel} of group {group}.
Quote the message and reply {replyMessage} in channel {channel} of group {group}.
GET /groups/{group-id}/team/primaryChannel/messages List messages in a team's primary channel · Get messages from groups #
Ask an LLM
“What messages have been posted in a team's main channel?”
“Can I filter the messages in a team channel?”
Tell an agent
List messages in the primary channel of group {group}.
Show the first {top} messages in the main channel of team {group}.
POST /groups/{group-id}/team/primaryChannel/messages Post a message in a team's primary channel · Create new navigation property to messages for groups #
Ask an LLM
“How do I post a new message in a team's main channel?”
“Can I attach files or set the importance of a message I post in a team channel?”
Tell an agent
Post a message in the primary channel of group {group}.
Send a new message in the main channel of team {group} with importance {importance}.
GET /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id} Get a message in a team's primary channel · Get messages from groups #
Ask an LLM
“How do I read one message from a team's main channel?”
“What does a specific message in a team channel say?”
Tell an agent
Get message {message} from the primary channel of group {group}.
Show the text of message {message} in the main channel of team {group}.
PATCH /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id} Edit a message in a team's primary channel · Update the navigation property messages in groups #
Ask an LLM
“How do I edit a message I posted in a team's main channel?”
“Can I change the subject of a message in a team channel?”
Tell an agent
Edit message {message} in the primary channel of group {group}.
Change the subject of message {message} in the main channel of team {group} to {subject}.
DELETE /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id} Delete a message in a team's primary channel · Delete navigation property messages for groups #
Ask an LLM
“How do I delete a message from a team's main channel?”
“Can I remove a message from a team channel by its ID?”
Tell an agent destructive · confirm first
Delete message {message} from the primary channel of group {group}.
Remove message {message} in the main channel of team {group}.
GET /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents List hosted content in a primary channel message · Get hostedContents from groups #
Ask an LLM
“Which images or code snippets are hosted in a primary channel message?”
“Can I list the hosted contents of a team primary channel message?”
Tell an agent
List hosted contents in primary channel message {message} on team {group}.
Show the hosted attachments of message {message} in the team primary channel of group {group}.
POST /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents Upload hosted content to a primary channel message · Create new navigation property to hostedContents for groups #
Ask an LLM
“How do I upload an image into a primary channel message?”
“Can I add hosted content to a team primary channel message?”
Tell an agent
Upload hosted content to primary channel message {message} on team {group}.
Add a hosted attachment to message {message} in group {group}'s team primary channel.
GET /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} Get hosted content in a primary channel message · Get hostedContents from groups #
Ask an LLM
“What hosted content is attached to a primary channel message?”
“Can I retrieve one hosted attachment from a team primary channel message?”
Tell an agent
Get hosted content {content} of primary channel message {message} on team {group}.
Show primary channel message {message}'s attachment {content} in group {group}'s team primary channel.
PATCH /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} Update hosted content of a primary channel message · Update the navigation property hostedContents in groups #
Ask an LLM
“How do I rename hosted content attached to a primary channel message?”
“Can I change the name of an attachment in a team primary channel message?”
Tell an agent
Update hosted content {content} of primary channel message {message} on team {group}.
Rename the attachment {content} on message {message} in group {group}'s team primary channel.
DELETE /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} Delete hosted content from a message · Delete navigation property hostedContents for groups #
Ask an LLM
“How do I remove an image or code snippet from a message?”
“Can I delete hosted content inside a message by its ID?”
Tell an agent destructive · confirm first
Delete hosted content {content} from message {message} of group {group}.
Remove attachment {content} from message {message} in the main channel of team {group}.
GET /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value Download hosted content from a message · Get media content for the navigation property hostedContents from groups #
Ask an LLM
“How do I download the image or code snippet hosted inside a message?”
“Can I fetch the raw content of a hosted attachment?”
Tell an agent
Download hosted content {content} from message {message} of group {group}.
Get the file behind hosted attachment {content} in message {message} in the main channel of team {group}.
PUT /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value Replace hosted content media in a primary channel message · Update media content for the navigation property hostedContents in groups #
Ask an LLM
“How do I overwrite the image in a primary channel message?”
“Can I upload a new version of hosted content on a team primary channel message?”
Tell an agent destructive · confirm first
Replace the media of hosted content {content} on primary channel message {message} on team {group}.
Upload a new media version for attachment {content} on message {message} in group {group}'s team primary channel.
DELETE /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value Delete hosted content media in a primary channel message · Delete media content for the navigation property hostedContents in groups #
Ask an LLM
“How do I delete the image attached to a primary channel message?”
“Can I remove hosted media from a team primary channel message without deleting it?”
Tell an agent destructive · confirm first
Delete the media of hosted content {content} on primary channel message {message} on team {group}.
Remove the attachment media {content} from message {message} in group {group}'s team primary channel.
GET /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents/$count Count hosted content in a primary channel message · Get the number of the resource #
Ask an LLM
“How many hosted attachments are in a primary channel message?”
“Can I count only the primary channel message attachments matching a filter?”
Tell an agent
Count hosted attachments in primary channel message {message} on team {group}.
Count primary channel message {message} attachments in group {group} matching {filter}.
POST /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/setReaction React to a message · Invoke action setReaction #
Ask an LLM
“How do I react to a message in a team channel with a like or emoji?”
“Can I add a reaction to a message I posted?”
Tell an agent
React {reaction} to message {message} in group {group}.
Like message {message} in the main channel of team {group}.
POST /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/softDelete Soft-delete a message in the team primary channel · Invoke action softDelete #
Ask an LLM
“How do I remove a message from the team primary channel without deleting it?”
“Can I soft-delete a chat message in the team primary channel?”
Tell an agent destructive · confirm first
Soft-delete primary channel message {message} on team {group}.
Mark message {message} in the team's primary channel of group {group} as soft-deleted.
POST /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/undoSoftDelete Undo soft-deletion of a team primary channel message · Invoke action undoSoftDelete #
Ask an LLM
“How do I bring back a message I soft-deleted in the team primary channel?”
“Can I undo the soft deletion of a chat message in the team primary channel?”
Tell an agent
Undo soft-delete of primary channel message {message} on team {group}.
Restore message {message} in the team primary channel of group {group}.
POST /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/unsetReaction Remove a reaction from a message · Invoke action unsetReaction #
Ask an LLM
“How do I remove my reaction from a message?”
“Can I clear a specific reaction type from a message?”
Tell an agent
Unset reaction {reaction} from message {message} in group {group}.
Remove my reaction from message {message} in the main channel of team {group}.
GET /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies List replies to a message in a team channel · Get replies from groups #
Ask an LLM
“How do I see all replies to a message in a Teams channel?”
“Can I filter the replies to a channel message?”
Tell an agent
List replies to message {message} in group {group}.
Show {top} replies to message {message} in group {group}.
POST /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies Reply to a message in the team primary channel · Create new navigation property to replies for groups #
Ask an LLM
“How do I reply to a message in the team's primary channel?”
“Can I post a reply to a chat message in the team primary channel?”
Tell an agent
Reply to primary channel message {message} on team {group}.
Post a reply on message {message} in the team primary channel of group {group}.
GET /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1} Get a reply to a message in a team channel · Get replies from groups #
Ask an LLM
“How do I read one reply to a message in a Teams channel?”
“Can I expand a channel reply?”
Tell an agent
Get reply {reply} to message {message} in group {group}.
Show channel reply {reply} on message {message} in group {group}.
PATCH /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1} Update a reply to a Teams message · Update the navigation property replies in groups #
Ask an LLM
“Can I edit a reply I already posted in a Teams channel?”
“How do I add attachments to a reply on a message?”
Tell an agent
Update reply {reply_id} on message {message_id} in group {group_id} with body {body}.
Attach {attachments} to reply {reply_id} of {message_id} in {group_id}.
DELETE /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1} Delete a reply to a Teams message · Delete navigation property replies for groups #
Ask an LLM
“How do I permanently delete a reply to a message in a group channel?”
“Can I remove a single reply from a Teams message in one go?”
Tell an agent destructive · confirm first
Delete reply {reply_id} from message {message_id} in group {group_id}.
Permanently remove the reply {reply_id} on {message_id} in {group_id}.
GET /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents List hosted content in a primary channel reply · Get hostedContents from groups #
Ask an LLM
“What images or snippets are embedded in a reply in a team's primary channel?”
“Can I limit how many hosted items come back for a reply in the main channel?”
Tell an agent
List the images and snippets hosted in reply {reply} under message {message} in the primary channel of group {group}.
Show the first {top} hosted items of reply {reply} to primary channel message {message} in group {group}.
POST /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents Host content in a reply · Create new navigation property to hostedContents for groups #
Ask an LLM
“How do I upload an image into a reply in a team channel?”
“Can I attach a code snippet to a channel reply?”
Tell an agent
Host content in reply {reply} to message {message} in group {group}.
Add a hosted file to channel reply {reply} on message {message} in group {group}.
GET /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} Get one hosted item from a primary channel reply · Get hostedContents from groups #
Ask an LLM
“Can I look up the details of one hosted image in a reply in a team's main channel?”
“What are the properties of a single hosted file in a primary channel reply?”
Tell an agent
Fetch hosted item {content} of reply {reply} under primary channel message {message} in group {group}.
Look up hosted file {content} in the main channel thread {message}, reply {reply}, for team {group}.
PATCH /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} Update hosted content in a reply · Update the navigation property hostedContents in groups #
Ask an LLM
“How do I change the type of hosted content in a reply?”
“Can I edit a hosted file inside a channel reply?”
Tell an agent
Update hosted content {content} in reply {reply} to message {message} in group {group}.
Change the hosted file {content} inside channel reply {reply} on message {message} in group {group}.
DELETE /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} Delete hosted content from a reply · Delete navigation property hostedContents for groups #
Ask an LLM
“How do I remove an image from a reply in a team channel?”
“Can I delete a hosted file inside a channel reply?”
Tell an agent destructive · confirm first
Delete hosted content {content} from reply {reply} to message {message} in group {group}.
Remove the hosted file {content} in channel reply {reply} on message {message} in group {group}.
GET /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value Download hosted content from a reply · Get media content for the navigation property hostedContents from groups #
Ask an LLM
“How do I download the image hosted in a reply?”
“Can I fetch the raw media of a hosted file in a channel reply?”
Tell an agent
Download hosted content {content} from reply {reply} to message {message} in group {group}.
Get the media of hosted file {content} in channel reply {reply} on message {message} in group {group}.
PUT /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value Replace hosted content in a reply · Update media content for the navigation property hostedContents in groups #
Ask an LLM
“How do I replace an image hosted in a reply?”
“Can I upload new media to a hosted file in a channel reply?”
Tell an agent
Replace hosted content {content} in reply {reply} to message {message} in group {group}.
Upload new media to hosted file {content} inside channel reply {reply} on message {message} in group {group}.
DELETE /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value Erase hosted media from a primary channel reply · Delete media content for the navigation property hostedContents in groups #
Ask an LLM
“How do I wipe the hosted media from a reply in a team's main channel?”
“Can I delete the bytes of one hosted file in a primary channel reply using an ETag?”
Tell an agent destructive · confirm first
Erase the media of hosted item {content} in reply {reply} under primary channel message {message} in group {group}.
Wipe hosted file {content} from the main channel thread {message}, reply {reply}, of team {group}.
GET /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count Count hosted content in a reply · Get the number of the resource #
Ask an LLM
“How many hosted items are in a particular reply?”
“Can I count hosted content matching a filter?”
Tell an agent
Count the hosted content in reply {reply_id} to message {message_id} in group {group_id}.
Count hosted items in reply {reply_id} on {message_id} in {group_id} matching {filter}.
POST /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction React to a reply with an emoji · Invoke action setReaction #
Ask an LLM
“Can a user react to a reply to a Teams message with a like or emoji?”
“What emoji types can I set on a message reply?”
Tell an agent
React with {reactionType} to reply {reply_id} on message {message_id} in group {group_id}.
Like reply {reply_id} of {message_id} in {group_id}.
POST /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete Soft-delete a primary channel reply · Invoke action softDelete #
Ask an LLM
“Can I hide a reply in a team's main channel thread so it can be recovered later?”
“Is there a way to soft-delete one reply under a primary channel message?”
Tell an agent
Move reply {reply} under primary channel message {message} of group {group} to a soft-deleted state.
Hide reply {reply} in the main channel thread {message} of team {group} so it can be recovered later.
POST /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete Recover a soft-deleted primary channel reply · Invoke action undoSoftDelete #
Ask an LLM
“Can I recover a reply I soft-deleted in a team's main channel?”
“What reverses a soft delete on a reply under a primary channel message?”
Tell an agent
Bring back reply {reply} under primary channel message {message} of group {group} after it was soft-deleted.
Reverse the soft deletion of reply {reply} in the main channel thread {message} of team {group}.
POST /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction Remove a reaction from a reply · Invoke action unsetReaction #
Ask an LLM
“Can I take back a reaction I gave to a reply?”
“How do I clear a specific emoji reaction on a message reply?”
Tell an agent
Remove the {reactionType} reaction from reply {reply_id} on message {message_id} in group {group_id}.
Clear my like on reply {reply_id} of {message_id} in {group_id}.
GET /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/$count Count replies to a message · Get the number of the resource #
Ask an LLM
“How many replies does a message in a group channel have?”
“Can I count replies matching a filter?”
Tell an agent
Count the replies to message {message_id} in group {group_id}.
Count replies on message {message_id} in {group_id} matching {filter}.
GET /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/delta() Track changes to replies in a channel · Invoke function delta #
Ask an LLM
“Can I sync only the new or changed replies to a message since my last call?”
“What's the way to page through replies to a channel message incrementally?”
Tell an agent
Track changes to replies on message {message_id} in group {group_id} with delta()
Sync new replies to message {message_id} in {group_id} using delta.
POST /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/replies/replyWithQuote Quote a message when replying to a message · Invoke action replyWithQuote #
Ask an LLM
“Can I reply to a message quoting the original text?”
“How do I quote several messages when answering a channel message?”
Tell an agent
Reply to message {message_id} in group {group_id} quoting messages {message_ids} with {reply_message}.
Reply with quote to {message_ids} in {group_id}, including {reply_message}.
GET /groups/{group-id}/team/primaryChannel/messages/$count Count messages in a team channel · Get the number of the resource #
Ask an LLM
“How many messages are in a team channel?”
“Can I count only messages matching a filter?”
Tell an agent
Count the messages in the primary channel of group {group}.
Count messages in group {group} matching {filter}.
GET /groups/{group-id}/team/primaryChannel/messages/delta() Track new or changed messages in a team · Invoke function delta #
Ask an LLM
“How do I get new messages a team member sent?”
“Can I track changes to messages in a team channel?”
Tell an agent
Track new and changed messages in group {group}.
Get the next page of team messages for {group} matching {filter}.
POST /groups/{group-id}/team/primaryChannel/messages/replyWithQuote Quote a message when replying to a channel · Invoke action replyWithQuote #
Ask an LLM
“Can I reply to a group channel message while quoting the original text?”
“How do I quote several channel messages when answering?”
Tell an agent
Reply to group {group_id} quoting messages {message_ids} with {reply_message}.
Quote messages {message_ids} in group {group_id} and reply {reply_message}.

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/mail-api-overview?view=graph-rest-1.0
📖
Authentication
https://learn.microsoft.com/en-us/graph/auth/
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/outlook-mail-concept-overview
📖
APIReference
https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/calendar?view=graph-rest-1.0
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/outlook-calendar-concept-overview
📖
APIReference
https://learn.microsoft.com/en-us/graph/api/resources/calendar-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/contact?view=graph-rest-1.0
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/outlook-contacts-concept-overview
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/todo-overview?view=graph-rest-1.0
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/todo-concept-overview
📖
Documentation
https://learn.microsoft.com/en-us/graph/people-insights-overview
📖
Documentation
https://learn.microsoft.com/en-us/graph/outlook-change-notifications-overview
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/change-notifications-delivery-webhooks
📖
APIReference
https://learn.microsoft.com/en-us/graph/api/resources/change-notifications-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/manage-focused-inbox?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/messagerule?view=graph-rest-1.0
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/outlook-organize-messages
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/outlookcategory?view=graph-rest-1.0

Specifications

Code Examples

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-outlook:microsoft-outlook-groups-team-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-outlook-groups-team-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OData Service for namespace microsoft.graph Groups.team API
  description: This OData service is located at https://graph.microsoft.com/v1.0
  version: v1.0
  x-ms-generated-by:
    toolName: Microsoft.OpenApi.OData
    toolVersion: 0.0.0.0
servers:
- url: https://graph.microsoft.com/v1.0
tags:


# --- truncated at 32 KB (303 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-outlook/openapi/microsoft-outlook-groups-team-api-openapi.yml