slack.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Channels
archive
channels.archive
Archive a Slack channel [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
response_metadata full type
response_metadata full type
close
channels.close
Close a direct message or multi-party DM
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
no_op | boolean | No | — |
already_closed | boolean | No | — |
response_metadata full type
response_metadata full type
create
channels.create
Create a new Slack channel
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
is_private | boolean | No | — |
team_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
channel | object | No | — |
response_metadata full type
response_metadata full type
channel full type
channel full type
get
channels.get
Get info about a channel
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
include_locale | boolean | No | — |
include_num_members | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
channel | object | No | — |
response_metadata full type
response_metadata full type
channel full type
channel full type
getHistory
channels.getHistory
Fetch message history for a channel
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
latest | string | No | — |
oldest | string | No | — |
inclusive | boolean | No | — |
include_all_metadata | boolean | No | — |
cursor | string | No | — |
limit | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
messages | object[] | No | — |
has_more | boolean | No | — |
pin_count | number | No | — |
channel_actions_count | number | No | — |
channel_actions_ts | number | No | — |
response_metadata full type
response_metadata full type
messages full type
messages full type
getMembers
channels.getMembers
List members of a channel
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
cursor | string | No | — |
limit | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
members | string[] | No | — |
response_metadata full type
response_metadata full type
getReplies
channels.getReplies
Fetch replies for a thread
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
ts | string | Yes | — |
latest | string | No | — |
oldest | string | No | — |
inclusive | boolean | No | — |
include_all_metadata | boolean | No | — |
cursor | string | No | — |
limit | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
messages | object[] | No | — |
has_more | boolean | No | — |
response_metadata full type
response_metadata full type
messages full type
messages full type
invite
channels.invite
Invite users to a channel
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
users | string | Yes | — |
force | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
channel | object | No | — |
response_metadata full type
response_metadata full type
channel full type
channel full type
join
channels.join
Join a channel
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
channel | object | No | — |
warning | string | No | — |
response_metadata full type
response_metadata full type
channel full type
channel full type
kick
channels.kick
Remove a user from a channel
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
user | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
response_metadata full type
response_metadata full type
leave
channels.leave
Leave a channel
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
not_in_channel | boolean | No | — |
response_metadata full type
response_metadata full type
list
channels.list
List all channels in the workspace
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
exclude_archived | boolean | No | — |
types | string | No | — |
team_id | string | No | — |
cursor | string | No | — |
limit | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
channels | object[] | No | — |
response_metadata full type
response_metadata full type
channels full type
channels full type
open
channels.open
Open a direct message or multi-party DM
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | No | — |
users | string | No | — |
prevent_creation | boolean | No | — |
return_im | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
channel | object | No | — |
no_op | boolean | No | — |
already_open | boolean | No | — |
response_metadata full type
response_metadata full type
channel full type
channel full type
rename
channels.rename
Rename a channel
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
name | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
channel | object | No | — |
response_metadata full type
response_metadata full type
channel full type
channel full type
setPurpose
channels.setPurpose
Set the purpose of a channel
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
purpose | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
channel | object | No | — |
purpose | string | No | — |
response_metadata full type
response_metadata full type
channel full type
channel full type
setTopic
channels.setTopic
Set the topic of a channel
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
topic | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
channel | object | No | — |
topic | string | No | — |
response_metadata full type
response_metadata full type
channel full type
channel full type
unarchive
channels.unarchive
Unarchive a channel
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
response_metadata full type
response_metadata full type
Files
get
files.get
Get info about a file
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
file | string | Yes | — |
cursor | string | No | — |
limit | number | No | — |
page | number | No | — |
count | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
file | object | No | — |
comments | object[] | No | — |
paging | object | No | — |
response_metadata full type
response_metadata full type
file full type
file full type
comments full type
comments full type
paging full type
paging full type
list
files.list
List files in the workspace
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | No | — |
user | string | No | — |
types | string | No | — |
ts_from | string | No | — |
ts_to | string | No | — |
show_files_hidden_by_limit | boolean | No | — |
team_id | string | No | — |
page | number | No | — |
count | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
files | object[] | No | — |
paging | object | No | — |
response_metadata full type
response_metadata full type
files full type
files full type
paging full type
paging full type
upload
files.upload
Upload a file to Slack
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channels | string | No | — |
content | string | No | — |
file | any | No | — |
filename | string | No | — |
filetype | string | No | — |
initial_comment | string | No | — |
thread_ts | string | No | — |
title | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
file | object | No | — |
response_metadata full type
response_metadata full type
file full type
file full type
Messages
delete
messages.delete
Delete a message [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
ts | string | Yes | — |
as_user | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
channel | string | No | — |
ts | string | No | — |
response_metadata full type
response_metadata full type
getPermalink
messages.getPermalink
Get a permalink for a message
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
message_ts | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
channel | string | No | — |
permalink | string | No | — |
response_metadata full type
response_metadata full type
post
messages.post
Post a message to a channel
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
text | string | No | — |
blocks | object[] | No | — |
attachments | object[] | No | — |
thread_ts | string | No | — |
reply_broadcast | boolean | No | — |
parse | full | none | No | — |
link_names | boolean | No | — |
unfurl_links | boolean | No | — |
unfurl_media | boolean | No | — |
mrkdwn | boolean | No | — |
as_user | boolean | No | — |
icon_emoji | string | No | — |
icon_url | string | No | — |
username | string | No | — |
metadata | object | No | — |
blocks full type
blocks full type
attachments full type
attachments full type
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
channel | string | No | — |
ts | string | No | — |
message | object | No | — |
response_metadata full type
response_metadata full type
message full type
message full type
search
messages.search
Search messages in the workspace
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | — |
sort | score | timestamp | No | — |
sort_dir | asc | desc | No | — |
highlight | boolean | No | — |
team_id | string | No | — |
cursor | string | No | — |
limit | number | No | — |
page | number | No | — |
count | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
query | string | No | — |
messages | object | No | — |
response_metadata full type
response_metadata full type
messages full type
messages full type
update
messages.update
Update an existing message
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
ts | string | Yes | — |
text | string | No | — |
blocks | object[] | No | — |
attachments | object[] | No | — |
parse | full | none | No | — |
link_names | boolean | No | — |
as_user | boolean | No | — |
file_ids | string[] | No | — |
reply_broadcast | boolean | No | — |
metadata | object | No | — |
blocks full type
blocks full type
attachments full type
attachments full type
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
channel | string | No | — |
ts | string | No | — |
text | string | No | — |
message | object | No | — |
response_metadata full type
response_metadata full type
message full type
message full type
Reactions
add
reactions.add
Add a reaction emoji to a message
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | — |
timestamp | string | Yes | — |
name | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
response_metadata full type
response_metadata full type
get
reactions.get
Get reactions for a message
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | No | — |
timestamp | string | No | — |
file | string | No | — |
file_comment | string | No | — |
full | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
type | string | No | — |
channel | string | No | — |
message | object | No | — |
file | object | No | — |
comment | object | No | — |
response_metadata full type
response_metadata full type
message full type
message full type
file full type
file full type
comment full type
comment full type
remove
reactions.remove
Remove a reaction emoji from a message
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
channel | string | No | — |
timestamp | string | No | — |
file | string | No | — |
file_comment | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
response_metadata full type
response_metadata full type
Stars
add
stars.add
Star an item
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | No | — |
timestamp | string | No | — |
file | string | No | — |
file_comment | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
response_metadata full type
response_metadata full type
list
stars.list
List starred items for the authenticated user
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
team_id | string | No | — |
cursor | string | No | — |
limit | number | No | — |
page | number | No | — |
count | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
items | object[] | No | — |
paging | object | No | — |
response_metadata full type
response_metadata full type
items full type
items full type
paging full type
paging full type
remove
stars.remove
Unstar an item
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | No | — |
timestamp | string | No | — |
file | string | No | — |
file_comment | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
response_metadata full type
response_metadata full type
User Groups
create
userGroups.create
Create a user group
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
channels | string | No | — |
description | string | No | — |
handle | string | No | — |
include_count | boolean | No | — |
team_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
usergroup | object | No | — |
response_metadata full type
response_metadata full type
usergroup full type
usergroup full type
disable
userGroups.disable
Disable a user group
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
userGroup | string | Yes | — |
include_count | boolean | No | — |
team_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
usergroup | object | No | — |
response_metadata full type
response_metadata full type
usergroup full type
usergroup full type
enable
userGroups.enable
Enable a user group
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
userGroup | string | Yes | — |
include_count | boolean | No | — |
team_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
usergroup | object | No | — |
response_metadata full type
response_metadata full type
usergroup full type
usergroup full type
list
userGroups.list
List user groups in the workspace
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
include_count | boolean | No | — |
include_disabled | boolean | No | — |
include_users | boolean | No | — |
team_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
userGroups | object[] | No | — |
response_metadata full type
response_metadata full type
userGroups full type
userGroups full type
update
userGroups.update
Update a user group
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
userGroup | string | Yes | — |
name | string | No | — |
channels | string | No | — |
description | string | No | — |
handle | string | No | — |
include_count | boolean | No | — |
team_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
usergroup | object | No | — |
response_metadata full type
response_metadata full type
usergroup full type
usergroup full type
Users
get
users.get
Get info about a user
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
user | string | Yes | — |
include_locale | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
user | object | No | — |
response_metadata full type
response_metadata full type
user full type
user full type
getPresence
users.getPresence
Get the presence status of a user
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
user | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
presence | string | No | — |
online | boolean | No | — |
auto_away | boolean | No | — |
manual_away | boolean | No | — |
connection_count | number | No | — |
last_activity | number | No | — |
response_metadata full type
response_metadata full type
getProfile
users.getProfile
Get a user profile
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
user | string | No | — |
include_labels | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
profile | object | No | — |
response_metadata full type
response_metadata full type
profile full type
profile full type
list
users.list
List all users in the workspace
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
include_locale | boolean | No | — |
team_id | string | No | — |
cursor | string | No | — |
limit | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
members | object[] | No | — |
cache_ts | number | No | — |
response_metadata full type
response_metadata full type
members full type
members full type
updateProfile
users.updateProfile
Update the authenticated user’s profile
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
profile | object | No | — |
user | string | No | — |
name | string | No | — |
value | string | No | — |
profile full type
profile full type
| Name | Type | Required | Description |
|---|---|---|---|
ok | boolean | Yes | — |
error | string | No | — |
needed | string | No | — |
provided | string | No | — |
response_metadata | object | No | — |
profile | object | No | — |
response_metadata full type
response_metadata full type
profile full type
profile full type