Slackbot
Use an installed Slack app bot for conversations, messages, files, reactions, and workspace resources.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| Slack bot OAuth 2.0 | oauth2 | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "SLACKBOT_BOTS_INFO", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("SLACKBOT_BOTS_INFO", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute SLACKBOT_BOTS_INFO --data '{ }'Tool 目录
可用 Tools
72 个可调用操作
Bots InfoSLACKBOT_BOTS_INFOGets information about a bot user.需要连接1 scope
Gets information about a bot user.
认证
需要 Connected AccountScopes
users:readTags
Calls AddSLACKBOT_CALLS_ADDRegisters a new Call.需要连接1 scope
Registers a new Call.
认证
需要 Connected AccountScopes
calls:writeTags
Calls EndSLACKBOT_CALLS_ENDEnds a Call.需要连接1 scope
Ends a Call.
认证
需要 Connected AccountScopes
calls:writeTags
Calls InfoSLACKBOT_CALLS_INFOReturns information about a Call.需要连接1 scope
Returns information about a Call.
认证
需要 Connected AccountScopes
calls:readTags
Calls Participants AddSLACKBOT_CALLS_PARTICIPANTS_ADDRegisters new participants added to a Call.需要连接1 scope
Registers new participants added to a Call.
认证
需要 Connected AccountScopes
calls:writeTags
Calls Participants RemoveSLACKBOT_CALLS_PARTICIPANTS_REMOVERegisters participants removed from a Call.需要连接1 scope
Registers participants removed from a Call.
认证
需要 Connected AccountScopes
calls:writeTags
Calls UpdateSLACKBOT_CALLS_UPDATEUpdates information about a Call.需要连接1 scope
Updates information about a Call.
认证
需要 Connected AccountScopes
calls:writeTags
Chat DeleteSLACKBOT_CHAT_DELETEDeletes a message.需要连接1 scope
Deletes a message.
认证
需要 Connected AccountScopes
chat:writeTags
Chat DeleteScheduledMessageSLACKBOT_CHAT_DELETE_SCHEDULED_MESSAGEDeletes a pending scheduled message from the queue.需要连接1 scope
Deletes a pending scheduled message from the queue.
认证
需要 Connected AccountScopes
chat:writeTags
Chat MeMessageSLACKBOT_CHAT_ME_MESSAGEShare a me message into a channel.需要连接1 scope
Share a me message into a channel.
认证
需要 Connected AccountScopes
chat:writeTags
Chat PostEphemeralSLACKBOT_CHAT_POST_EPHEMERALSends an ephemeral message to a user in a channel.需要连接1 scope
Sends an ephemeral message to a user in a channel.
认证
需要 Connected AccountScopes
chat:writeTags
Chat PostMessageSLACKBOT_CHAT_POST_MESSAGESends a message to a channel.需要连接1 scope
Sends a message to a channel.
认证
需要 Connected AccountScopes
chat:writeTags
Chat ScheduleMessageSLACKBOT_CHAT_SCHEDULE_MESSAGESchedules a message to be sent to a channel.需要连接1 scope
Schedules a message to be sent to a channel.
认证
需要 Connected AccountScopes
chat:writeTags
Chat UnfurlSLACKBOT_CHAT_UNFURLProvide custom unfurl behavior for user-posted URLs需要连接1 scope
Provide custom unfurl behavior for user-posted URLs
认证
需要 Connected AccountScopes
links:writeTags
Chat UpdateSLACKBOT_CHAT_UPDATEUpdates a message.需要连接1 scope
Updates a message.
认证
需要 Connected AccountScopes
chat:writeTags
Conversations ArchiveSLACKBOT_CONVERSATIONS_ARCHIVEArchives a conversation.需要连接4 scopes
Archives a conversation.
认证
需要 Connected AccountScopes
channels:managegroups:writeim:writempim:writeTags
Conversations CloseSLACKBOT_CONVERSATIONS_CLOSECloses a direct message or multi-person direct message.需要连接4 scopes
Closes a direct message or multi-person direct message.
认证
需要 Connected AccountScopes
channels:managegroups:writeim:writempim:writeTags
Conversations CreateSLACKBOT_CONVERSATIONS_CREATEInitiates a public or private channel-based conversation需要连接4 scopes
Initiates a public or private channel-based conversation
认证
需要 Connected AccountScopes
channels:managegroups:writeim:writempim:writeTags
Conversations HistorySLACKBOT_CONVERSATIONS_HISTORYFetches a conversation's history of messages and events.需要连接4 scopes
Fetches a conversation's history of messages and events.
认证
需要 Connected AccountScopes
channels:historygroups:historyim:historympim:historyTags
Conversations InfoSLACKBOT_CONVERSATIONS_INFORetrieve information about a conversation.需要连接4 scopes
Retrieve information about a conversation.
认证
需要 Connected AccountScopes
channels:readgroups:readim:readmpim:readTags
Conversations InviteSLACKBOT_CONVERSATIONS_INVITEInvites users to a channel.需要连接6 scopes
Invites users to a channel.
认证
需要 Connected AccountScopes
channels:managechannels:write.invitesgroups:writegroups:write.invitesim:writempim:writeTags
Conversations JoinSLACKBOT_CONVERSATIONS_JOINJoins an existing conversation.需要连接1 scope
Joins an existing conversation.
认证
需要 Connected AccountScopes
channels:joinTags
Conversations KickSLACKBOT_CONVERSATIONS_KICKRemoves a user from a conversation.需要连接2 scopes
Removes a user from a conversation.
认证
需要 Connected AccountScopes
channels:managegroups:writeTags
Conversations LeaveSLACKBOT_CONVERSATIONS_LEAVELeaves a conversation.需要连接4 scopes
Leaves a conversation.
认证
需要 Connected AccountScopes
channels:managegroups:writeim:writempim:writeTags
Conversations ListSLACKBOT_CONVERSATIONS_LISTLists all channels in a Slack team.需要连接4 scopes
Lists all channels in a Slack team.
认证
需要 Connected AccountScopes
channels:readgroups:readim:readmpim:readTags
Conversations MarkSLACKBOT_CONVERSATIONS_MARKSets the read cursor in a channel.需要连接4 scopes
Sets the read cursor in a channel.
认证
需要 Connected AccountScopes
channels:managegroups:writeim:writempim:writeTags
Conversations MembersSLACKBOT_CONVERSATIONS_MEMBERSRetrieve members of a conversation.需要连接4 scopes
Retrieve members of a conversation.
认证
需要 Connected AccountScopes
channels:readgroups:readim:readmpim:readTags
Conversations OpenSLACKBOT_CONVERSATIONS_OPENOpens or resumes a direct message or multi-person direct message.需要连接4 scopes
Opens or resumes a direct message or multi-person direct message.
认证
需要 Connected AccountScopes
channels:managegroups:writeim:writempim:writeTags
Conversations RenameSLACKBOT_CONVERSATIONS_RENAMERenames a conversation.需要连接4 scopes
Renames a conversation.
认证
需要 Connected AccountScopes
channels:managegroups:writeim:writempim:writeTags
Conversations RepliesSLACKBOT_CONVERSATIONS_REPLIESRetrieve a thread of messages posted to a conversation需要连接4 scopes
Retrieve a thread of messages posted to a conversation
认证
需要 Connected AccountScopes
channels:historygroups:historyim:historympim:historyTags
Conversations SetPurposeSLACKBOT_CONVERSATIONS_SET_PURPOSESets the purpose for a conversation.需要连接8 scopes
Sets the purpose for a conversation.
认证
需要 Connected AccountScopes
channels:managechannels:write.topicgroups:writegroups:write.topicim:writeim:write.topicmpim:writempim:write.topicTags
Conversations SetTopicSLACKBOT_CONVERSATIONS_SET_TOPICSets the topic for a conversation.需要连接8 scopes
Sets the topic for a conversation.
认证
需要 Connected AccountScopes
channels:managechannels:write.topicgroups:writegroups:write.topicim:writeim:write.topicmpim:writempim:write.topicTags
Conversations UnarchiveSLACKBOT_CONVERSATIONS_UNARCHIVEReverses conversation archival.需要连接4 scopes
Reverses conversation archival.
认证
需要 Connected AccountScopes
channels:managegroups:writeim:writempim:writeTags
Dnd InfoSLACKBOT_DND_INFORetrieves a user's current Do Not Disturb status.需要连接1 scope
Retrieves a user's current Do Not Disturb status.
认证
需要 Connected AccountScopes
dnd:readTags
Dnd TeamInfoSLACKBOT_DND_TEAM_INFORetrieves the Do Not Disturb status for up to 50 users on a team.需要连接1 scope
Retrieves the Do Not Disturb status for up to 50 users on a team.
认证
需要 Connected AccountScopes
dnd:readTags
Emoji ListSLACKBOT_EMOJI_LISTLists custom emoji for a team.需要连接1 scope
Lists custom emoji for a team.
认证
需要 Connected AccountScopes
emoji:readTags
Files Comments DeleteSLACKBOT_FILES_COMMENTS_DELETEDeletes an existing comment on a file.需要连接1 scope
Deletes an existing comment on a file.
认证
需要 Connected AccountScopes
files:writeTags
Files DeleteSLACKBOT_FILES_DELETEDeletes a file.需要连接1 scope
Deletes a file.
认证
需要 Connected AccountScopes
files:writeTags
Files InfoSLACKBOT_FILES_INFOGets information about a file.需要连接1 scope
Gets information about a file.
认证
需要 Connected AccountScopes
files:readTags
Files ListSLACKBOT_FILES_LISTList for a team, in a channel, or from a user with applied filters.需要连接1 scope
List for a team, in a channel, or from a user with applied filters.
认证
需要 Connected AccountScopes
files:readTags
Files Remote AddSLACKBOT_FILES_REMOTE_ADDAdds a file from a remote service需要连接1 scope
Adds a file from a remote service
认证
需要 Connected AccountScopes
remote_files:writeTags
Files Remote InfoSLACKBOT_FILES_REMOTE_INFORetrieve information about a remote file added to Slack需要连接1 scope
Retrieve information about a remote file added to Slack
认证
需要 Connected AccountScopes
remote_files:readTags
Files Remote ListSLACKBOT_FILES_REMOTE_LISTRetrieve information about a remote file added to Slack需要连接1 scope
Retrieve information about a remote file added to Slack
认证
需要 Connected AccountScopes
remote_files:readTags
Files Remote RemoveSLACKBOT_FILES_REMOTE_REMOVERemove a remote file.需要连接1 scope
Remove a remote file.
认证
需要 Connected AccountScopes
remote_files:writeTags
Files Remote ShareSLACKBOT_FILES_REMOTE_SHAREShare a remote file into a channel.需要连接1 scope
Share a remote file into a channel.
认证
需要 Connected AccountScopes
remote_files:shareTags
Files Remote UpdateSLACKBOT_FILES_REMOTE_UPDATEUpdates an existing remote file.需要连接1 scope
Updates an existing remote file.
认证
需要 Connected AccountScopes
remote_files:writeTags
Files RevokePublicURLSLACKBOT_FILES_REVOKE_PUBLIC_URLRevokes public/external sharing access for a file需要连接1 scope
Revokes public/external sharing access for a file
认证
需要 Connected AccountScopes
files:writeTags
Files UploadSLACKBOT_FILES_UPLOADUploads or creates a file.需要连接1 scope
Uploads or creates a file.
认证
需要 Connected AccountScopes
files:writeTags
Pins AddSLACKBOT_PINS_ADDPins an item to a channel.需要连接1 scope
Pins an item to a channel.
认证
需要 Connected AccountScopes
pins:writeTags
Pins ListSLACKBOT_PINS_LISTLists items pinned to a channel.需要连接1 scope
Lists items pinned to a channel.
认证
需要 Connected AccountScopes
pins:readTags
Pins RemoveSLACKBOT_PINS_REMOVEUn-pins an item from a channel.需要连接1 scope
Un-pins an item from a channel.
认证
需要 Connected AccountScopes
pins:writeTags
Reactions AddSLACKBOT_REACTIONS_ADDAdds a reaction to an item.需要连接1 scope
Adds a reaction to an item.
认证
需要 Connected AccountScopes
reactions:writeTags
Reactions GetSLACKBOT_REACTIONS_GETGets reactions for an item.需要连接1 scope
Gets reactions for an item.
认证
需要 Connected AccountScopes
reactions:readTags
Reactions ListSLACKBOT_REACTIONS_LISTLists reactions made by a user.需要连接1 scope
Lists reactions made by a user.
认证
需要 Connected AccountScopes
reactions:readTags
Reactions RemoveSLACKBOT_REACTIONS_REMOVERemoves a reaction from an item.需要连接1 scope
Removes a reaction from an item.
认证
需要 Connected AccountScopes
reactions:writeTags
Team InfoSLACKBOT_TEAM_INFOGets information about the current team.需要连接1 scope
Gets information about the current team.
认证
需要 Connected AccountScopes
team:readTags
Team Profile GetSLACKBOT_TEAM_PROFILE_GETRetrieve a team's profile.需要连接1 scope
Retrieve a team's profile.
认证
需要 Connected AccountScopes
users.profile:readTags
Usergroups CreateSLACKBOT_USERGROUPS_CREATECreate a User Group需要连接1 scope
Create a User Group
认证
需要 Connected AccountScopes
usergroups:writeTags
Usergroups DisableSLACKBOT_USERGROUPS_DISABLEDisable an existing User Group需要连接1 scope
Disable an existing User Group
认证
需要 Connected AccountScopes
usergroups:writeTags
Usergroups EnableSLACKBOT_USERGROUPS_ENABLEEnable a User Group需要连接1 scope
Enable a User Group
认证
需要 Connected AccountScopes
usergroups:writeTags
Usergroups ListSLACKBOT_USERGROUPS_LISTList all User Groups for a team需要连接1 scope
List all User Groups for a team
认证
需要 Connected AccountScopes
usergroups:readTags
Usergroups UpdateSLACKBOT_USERGROUPS_UPDATEUpdate an existing User Group需要连接1 scope
Update an existing User Group
认证
需要 Connected AccountScopes
usergroups:writeTags
Usergroups Users ListSLACKBOT_USERGROUPS_USERS_LISTList all users in a User Group需要连接1 scope
List all users in a User Group
认证
需要 Connected AccountScopes
usergroups:readTags
Usergroups Users UpdateSLACKBOT_USERGROUPS_USERS_UPDATEUpdate the list of users for a User Group需要连接1 scope
Update the list of users for a User Group
认证
需要 Connected AccountScopes
usergroups:writeTags
Users ConversationsSLACKBOT_USERS_CONVERSATIONSList conversations the calling user may access.需要连接4 scopes
List conversations the calling user may access.
认证
需要 Connected AccountScopes
channels:readgroups:readim:readmpim:readTags
Users GetPresenceSLACKBOT_USERS_GET_PRESENCEGets user presence information.需要连接1 scope
Gets user presence information.
认证
需要 Connected AccountScopes
users:readTags
Users InfoSLACKBOT_USERS_INFOGets information about a user.需要连接1 scope
Gets information about a user.
认证
需要 Connected AccountScopes
users:readTags
Users ListSLACKBOT_USERS_LISTLists all users in a Slack team.需要连接1 scope
Lists all users in a Slack team.
认证
需要 Connected AccountScopes
users:readTags
Users LookupByEmailSLACKBOT_USERS_LOOKUP_BY_EMAILFind a user with an email address.需要连接1 scope
Find a user with an email address.
认证
需要 Connected AccountScopes
users:read.emailTags
Users Profile GetSLACKBOT_USERS_PROFILE_GETRetrieves a user's profile information.需要连接1 scope
Retrieves a user's profile information.
认证
需要 Connected AccountScopes
users.profile:readTags
Users SetActiveSLACKBOT_USERS_SET_ACTIVEMarked a user as active. Deprecated and non-functional.需要连接1 scope
Marked a user as active. Deprecated and non-functional.
认证
需要 Connected AccountScopes
users:writeTags
Users SetPresenceSLACKBOT_USERS_SET_PRESENCEManually sets user presence.需要连接1 scope
Manually sets user presence.
认证
需要 Connected AccountScopes
users:writeTags