Skip to main content
Every teams.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Channels

create

channels.create Create a new channel in a team Risk: write
Input Output

delete

channels.delete Delete a channel [DESTRUCTIVE] Risk: destructive
Input Output: empty object

get

channels.get Get details of a specific channel Risk: read
Input Output

list

channels.list List channels in a team Risk: read
Input Output

update

channels.update Update a channel Risk: write
Input Output: empty object

Chats

create

chats.create Create a new chat Risk: write
Input
Output

get

chats.get Get details of a specific chat Risk: read
Input Output

list

chats.list List chats for the current user Risk: read
Input Output

listMessages

chats.listMessages List messages in a chat Risk: read
Input Output

sendMessage

chats.sendMessage Send a message in a chat Risk: write
Input
Output

Members

add

members.add Add a member to a team Risk: write
Input Output

get

members.get Get a specific team member Risk: read
Input Output

list

members.list List members of a team Risk: read
Input Output

remove

members.remove Remove a member from a team [DESTRUCTIVE] Risk: destructive
Input Output: empty object

Messages

delete

messages.delete Delete a channel message [DESTRUCTIVE] Risk: destructive
Input Output: empty object

get

messages.get Get a specific channel message Risk: read
Input Output

list

messages.list List messages in a channel Risk: read
Input Output

listReplies

messages.listReplies List replies to a channel message Risk: read
Input Output

reply

messages.reply Reply to a message in a channel Risk: write
Input
Output

send

messages.send Send a message to a channel Risk: write
Input
Output

Teams

create

teams.create Create a new team Risk: write
Input
Output

delete

teams.delete Delete a team [DESTRUCTIVE] Risk: destructive
Input Output: empty object

get

teams.get Get details of a specific team Risk: read
Input Output

list

teams.list List teams the current user is a member of Risk: read
Input Output

update

teams.update Update team settings Risk: write
Input
Output: empty object