teams.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Channels
create
channels.create
Create a new channel in a team
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
displayName | string | Yes | — |
description | string | No | — |
membershipType | standard | private | shared | No | — |
isFavoriteByDefault | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
displayName | string | No | — |
description | string | No | — |
email | string | No | — |
webUrl | string | No | — |
membershipType | string | No | — |
isFavoriteByDefault | boolean | No | — |
createdDateTime | string | No | — |
delete
channels.delete
Delete a channel [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
channelId | string | Yes | — |
get
channels.get
Get details of a specific channel
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
channelId | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
displayName | string | No | — |
description | string | No | — |
email | string | No | — |
webUrl | string | No | — |
membershipType | string | No | — |
isFavoriteByDefault | boolean | No | — |
createdDateTime | string | No | — |
list
channels.list
List channels in a team
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
filter | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
@odata.context | string | No | — |
@odata.nextLink | string | No | — |
value | object[] | Yes | — |
value full type
value full type
update
channels.update
Update a channel
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
channelId | string | Yes | — |
displayName | string | No | — |
description | string | No | — |
isFavoriteByDefault | boolean | No | — |
Chats
create
chats.create
Create a new chat
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
chatType | oneOnOne | group | Yes | — |
topic | string | No | — |
members | object[] | Yes | — |
members full type
members full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
topic | string | No | — |
createdDateTime | string | No | — |
lastUpdatedDateTime | string | No | — |
chatType | string | No | — |
webUrl | string | No | — |
tenantId | string | No | — |
get
chats.get
Get details of a specific chat
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
chatId | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
topic | string | No | — |
createdDateTime | string | No | — |
lastUpdatedDateTime | string | No | — |
chatType | string | No | — |
webUrl | string | No | — |
tenantId | string | No | — |
list
chats.list
List chats for the current user
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
filter | string | No | — |
top | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
@odata.context | string | No | — |
@odata.nextLink | string | No | — |
value | object[] | Yes | — |
value full type
value full type
listMessages
chats.listMessages
List messages in a chat
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
chatId | string | Yes | — |
top | number | No | — |
skipToken | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
@odata.context | string | No | — |
@odata.nextLink | string | No | — |
value | object[] | Yes | — |
value full type
value full type
sendMessage
chats.sendMessage
Send a message in a chat
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
chatId | string | Yes | — |
body | object | Yes | — |
importance | normal | high | urgent | No | — |
body full type
body full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
replyToId | string | No | — |
etag | string | No | — |
messageType | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
deletedDateTime | string | No | — |
subject | string | No | — |
summary | string | No | — |
chatId | string | No | — |
importance | string | No | — |
locale | string | No | — |
webUrl | string | No | — |
from | object | No | — |
body | object | No | — |
channelIdentity | object | No | — |
attachments | object[] | No | — |
mentions | object[] | No | — |
reactions | object[] | No | — |
from full type
from full type
body full type
body full type
channelIdentity full type
channelIdentity full type
attachments full type
attachments full type
mentions full type
mentions full type
reactions full type
reactions full type
Members
add
members.add
Add a member to a team
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
userId | string | Yes | — |
roles | owner | member[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
displayName | string | No | — |
userId | string | No | — |
email | string | No | — |
tenantId | string | No | — |
roles | string[] | No | — |
visibleHistoryStartDateTime | string | No | — |
get
members.get
Get a specific team member
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
membershipId | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
displayName | string | No | — |
userId | string | No | — |
email | string | No | — |
tenantId | string | No | — |
roles | string[] | No | — |
visibleHistoryStartDateTime | string | No | — |
list
members.list
List members of a team
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
filter | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
@odata.context | string | No | — |
@odata.nextLink | string | No | — |
value | object[] | Yes | — |
value full type
value full type
remove
members.remove
Remove a member from a team [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
membershipId | string | Yes | — |
Messages
delete
messages.delete
Delete a channel message [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
channelId | string | Yes | — |
messageId | string | Yes | — |
get
messages.get
Get a specific channel message
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
channelId | string | Yes | — |
messageId | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
replyToId | string | No | — |
etag | string | No | — |
messageType | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
deletedDateTime | string | No | — |
subject | string | No | — |
summary | string | No | — |
chatId | string | No | — |
importance | string | No | — |
locale | string | No | — |
webUrl | string | No | — |
from | object | No | — |
body | object | No | — |
channelIdentity | object | No | — |
attachments | object[] | No | — |
mentions | object[] | No | — |
reactions | object[] | No | — |
from full type
from full type
body full type
body full type
channelIdentity full type
channelIdentity full type
attachments full type
attachments full type
mentions full type
mentions full type
reactions full type
reactions full type
list
messages.list
List messages in a channel
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
channelId | string | Yes | — |
top | number | No | — |
skipToken | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
@odata.context | string | No | — |
@odata.nextLink | string | No | — |
value | object[] | Yes | — |
value full type
value full type
listReplies
messages.listReplies
List replies to a channel message
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
channelId | string | Yes | — |
messageId | string | Yes | — |
top | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
@odata.context | string | No | — |
@odata.nextLink | string | No | — |
value | object[] | Yes | — |
value full type
value full type
reply
messages.reply
Reply to a message in a channel
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
channelId | string | Yes | — |
messageId | string | Yes | — |
body | object | Yes | — |
importance | normal | high | urgent | No | — |
body full type
body full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
replyToId | string | No | — |
etag | string | No | — |
messageType | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
deletedDateTime | string | No | — |
subject | string | No | — |
summary | string | No | — |
chatId | string | No | — |
importance | string | No | — |
locale | string | No | — |
webUrl | string | No | — |
from | object | No | — |
body | object | No | — |
channelIdentity | object | No | — |
attachments | object[] | No | — |
mentions | object[] | No | — |
reactions | object[] | No | — |
from full type
from full type
body full type
body full type
channelIdentity full type
channelIdentity full type
attachments full type
attachments full type
mentions full type
mentions full type
reactions full type
reactions full type
send
messages.send
Send a message to a channel
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
channelId | string | Yes | — |
body | object | Yes | — |
subject | string | No | — |
importance | normal | high | urgent | No | — |
body full type
body full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
replyToId | string | No | — |
etag | string | No | — |
messageType | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
deletedDateTime | string | No | — |
subject | string | No | — |
summary | string | No | — |
chatId | string | No | — |
importance | string | No | — |
locale | string | No | — |
webUrl | string | No | — |
from | object | No | — |
body | object | No | — |
channelIdentity | object | No | — |
attachments | object[] | No | — |
mentions | object[] | No | — |
reactions | object[] | No | — |
from full type
from full type
body full type
body full type
channelIdentity full type
channelIdentity full type
attachments full type
attachments full type
mentions full type
mentions full type
reactions full type
reactions full type
Teams
create
teams.create
Create a new team
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
displayName | string | Yes | — |
description | string | No | — |
visibility | public | private | No | — |
memberSettings | object | No | — |
guestSettings | object | No | — |
messagingSettings | object | No | — |
funSettings | object | No | — |
memberSettings full type
memberSettings full type
guestSettings full type
guestSettings full type
messagingSettings full type
messagingSettings full type
funSettings full type
funSettings full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
displayName | string | No | — |
description | string | No | — |
delete
teams.delete
Delete a team [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
get
teams.get
Get details of a specific team
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
displayName | string | No | — |
description | string | No | — |
internalId | string | No | — |
classification | string | No | — |
specialization | string | No | — |
visibility | string | No | — |
webUrl | string | No | — |
isArchived | boolean | No | — |
memberSettings | object | No | — |
guestSettings | object | No | — |
messagingSettings | object | No | — |
funSettings | object | No | — |
memberSettings full type
memberSettings full type
guestSettings full type
guestSettings full type
messagingSettings full type
messagingSettings full type
funSettings full type
funSettings full type
list
teams.list
List teams the current user is a member of
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
filter | string | No | — |
select | string | No | — |
top | number | No | — |
skipToken | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
@odata.context | string | No | — |
@odata.count | number | No | — |
@odata.nextLink | string | No | — |
value | object[] | Yes | — |
value full type
value full type
update
teams.update
Update team settings
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
teamId | string | Yes | — |
displayName | string | No | — |
description | string | No | — |
visibility | string | No | — |
memberSettings | object | No | — |
guestSettings | object | No | — |
messagingSettings | object | No | — |
funSettings | object | No | — |
memberSettings full type
memberSettings full type
guestSettings full type
guestSettings full type
messagingSettings full type
messagingSettings full type
funSettings full type
funSettings full type