Thanks to visit codestin.com
Credit goes to docs.stackone.com

Skip to main content
Microsoft Teams
Microsoft Teams
75 actions · 6 events · 3 auth methods
PreviewMessaging

Authentication

OAuth 2.0

Delegated access on behalf of a signed-in user. Required for actions on chats, user profiles, and /me endpoints.Guides: Connector Profile, Link Account

OAuth 2.0 (Client Credentials)

App-only access without a signed-in user. Best for background services and automation. Cannot access user-specific endpo…Guides: Connector Profile, Link Account

OAuth 2.0 (with Bot Framework)

Delegated access with bot messaging capabilities. Uses a single app registration for both Graph API and Bot Framework. T…Guides: Connector Profile, Link Account
Actions
|
75 actions
Action
Description
Required scopes
List Users
Retrieve a list of user objects. By default, returns a limited set of properties (businessPhones, displayName, givenName…
Get User
Retrieve the properties and relationships of a specific user by their ID or userPrincipalName. By default, only a limite…
Create User
Create a new user account in the organization with the specified properties
Delete User
Delete a specific user from the organization by their ID or userPrincipalName
Change Password
Change the password for the authenticated user. The user must provide their current password and the new password.
Get Current User
Retrieve the properties and relationships of the currently authenticated user
List Teams
Retrieve a list of all teams in an organization using the direct teams endpoint
Create Team
Create a new team from a template or from an existing group
Get Team
Retrieve the properties and relationships of a specific team by its ID
Update Team
Update the properties of the specified team
Delete Team
Delete a team and move it to the recycle bin for 30 days
Archive Team
Archive a team to prevent most changes while maintaining membership
Unarchive Team
Restore an archived team to active state
Add Team Member
Add a member to a team
Add Team Members In Bulk
Add multiple members to a team in a single request
Remove Team Member
Remove a member from a team
Remove Team Members In Bulk
Remove multiple members from a team in a single request
List Team Members
Get the conversationMember collection of a team
Get Team Member
Get a conversationMember from a team
Clone Team
Create a copy of a team with specified parts
List Channels
Retrieve the list of channels in a team
Get Channel
Retrieve the properties and relationships of a channel
List All Channels
Get the list of channels either in this team or shared with this team (incoming channels)
List Incoming Channels
Get the list of incoming channels (channels shared with a team)
Get Primary Channel
Get the default channel, General, of a team
Create Channel
Create a new channel in a team, as specified in the request body
Update Channel
Update the properties of the specified channel
Delete Channel
Delete a specific channel from a team. Deleting a channel is a permanent operation that cannot be undone.
List Channel Tabs
Retrieve the list of tabs in the specified channel within a team
Get Channel Files Folder
Get the metadata for the location where the files of a channel are stored
List Channel Members
Get a list of members in a channel, including direct members of standard, private, and shared channels
List All Channel Members
Get a list of all members in a channel, including direct and indirect members
Get Channel Member
Get a conversationMember from a channel
Archive Channel
Archive a channel in a team
Unarchive Channel
Restore an archived channel in a team
Add Channel Member
Add a conversationMember to a channel
Remove Channel Member
Delete a conversationMember from a channel
Get Channel Tab
Retrieve the properties and relationships of a specified tab in a channel within a team
Delete Channel Tab
Remove (unpin) a tab from the specified channel within a team
List Channel Messages
Retrieve the list of messages (without the replies) in a channel of a team
List All Channel Messages
Retrieve messages across all channels in a team, including text, audio, and video conversations
Get Channel Message
Retrieve a single message or a message reply in a channel
Send Channel Message
Send a new message to a specific channel. Only the body property is mandatory.
Update Channel Message
Update an existing message in a channel using delegated permissions
Delete Channel Message
Soft-delete a message in a channel
List Message Replies
Retrieve all replies to a specific message in a channel. Supports topandtop and expand OData query parameters.
Send Message Reply
Send a reply to a specific message in a channel. Only the body property is mandatory.
Get Message Reply
Retrieve a specific reply to a message in a channel
List Chat Messages
Retrieve all messages in a specific chat. Supports top(max50),top (max 50), orderby (lastModifiedDateTime or createdDateTime in d…
Get Chat Message
Retrieve a specific message in a chat by its ID
Send Chat Message
Send a new message to a specific chat. Only the body property is mandatory.
Delete Chat Message
Soft-delete a message in a chat
Undo Soft Delete Chat Message
Undo soft deletion of a single chat message or a message reply in a channel or a chat
List Chats
Retrieve all chats that the authenticated user is a participant in. Supports expand,expand, top, filter,andfilter, and orderby query…
Get Chat
Retrieve the properties and relationships of a specific chat
Create Chat
Create a new chat with specified members. Supports one-on-one and group chats. Only one one-on-one chat can exist betwee…
Update Chat
Update the properties of a chat object. This can only be used to set the topic for a chat with a chatType value of group…
Delete Chat
Delete a chat object. This operation is permanent and cannot be undone.
List Chat Members
Retrieve all members in a specific chat. This operation does not support OData query parameters to customize the respons…
Add Chat Member
Add a conversationMember to a chat
Remove Chat Member
Remove a conversationMember from a chat.
Get Chat Member
Retrieve a single conversationMember from a chat.
Create Subscription
Create a Microsoft Graph webhook subscription
List Subscriptions
List all active Graph webhook subscriptions
Get Subscription
Get a subscription by ID
Update Subscription
Renew a subscription by updating its expiration date
Delete Subscription
Delete a subscription by ID
Bot Create Conversation
Creates a new conversation between the bot and one or more users
Bot Send To Conversation
Sends an activity (message) to a conversation as a bot
Bot Reply To Activity
Sends a reply to a specific activity in a conversation
Bot Update Activity
Updates an existing activity in a conversation
Bot Delete Activity
Deletes an existing activity from a conversation
Bot Get Conversation Members
Gets all members of a conversation
Bot Get Conversation Paged Members
Gets members of a conversation one page at a time
Bot Get Conversation Member
Gets details about a specific member of a conversation
Events
|
6 events
Event
Description
Tags
Validation Check
Responds to Microsoft Graph subscription validation by returning the validationToken as plain text.
Webhook
Channel Message Event
Processes Microsoft Graph change notifications for channel messages. Fetches full message content from Graph API before…
Messages
Chat Message Event
Processes Microsoft Graph change notifications for chat messages. Fetches full message content from Graph API before emi…
Messages
Channel Event
Processes Microsoft Graph change notifications for channels. Fetches full channel data from Graph API before emitting.
Channels
Team Event
Processes Microsoft Graph change notifications for teams. Fetches full team data from Graph API before emitting.
Teams
Team Membership Event
Processes Microsoft Graph change notifications for team membership changes. Fetches full member data from Graph API befo…
Teams

Getting Started

1

Create or Select a Project

Set up a new project or select an existing one. See the Projects Guide.
2

Configure the Connector

Enable the connector and set up a connector profile in your project. See Managing Connectors.
https://stackone-logos.com/api/teams/filled/png

Connector Profile

Microsoft Teams - OAuth 2.0
https://stackone-logos.com/api/teams/filled/png

Connector Profile

Microsoft Teams - OAuth 2.0 (Client Credentials)
https://stackone-logos.com/api/teams/filled/png

Connector Profile

Microsoft Teams - OAuth 2.0 (with Bot Framework)
3

Link an Account

Connect an account using StackOne Hub or Auth Link.
https://stackone-logos.com/api/teams/filled/png

Link Account

Microsoft Teams - OAuth 2.0
https://stackone-logos.com/api/teams/filled/png

Link Account

Microsoft Teams - OAuth 2.0 (Client Credentials)
https://stackone-logos.com/api/teams/filled/png

Link Account

Microsoft Teams - OAuth 2.0 (with Bot Framework)
4

Use Actions

Invoke actions using one of the methods below:

References

Microsoft Graph API

Full REST API reference for Microsoft Graph.

Build a bot for Microsoft Teams

Guide for building bots to leverage the messaging API for agentic use cases.