Channel Operations
resource: channel — 17 operations wrapping Slack's conversations.* API
Underlying API: Slack's unified
conversations.* methods, which cover public channels, private channels, DMs, and MPIMs through one API family.
Lifecycle operations
| Operation | Slack Method | Fields |
|---|---|---|
create | conversations.create | name* (required), isPrivate (default false), teamId (optional, for Enterprise Grid). |
archive | conversations.archive | channelId*. |
unarchive | conversations.unarchive | channelId*. |
rename | conversations.rename | channelId*, name*. |
close | conversations.close | channelId* — closes a DM/MPIM. |
open | conversations.open | channelId to re-open an existing DM, or userIds (comma-separated) to open a new DM/MPIM. Supply one or the other. |
Membership operations
| Operation | Slack Method | Fields |
|---|---|---|
invite | conversations.invite | channelId*, userIds* (comma-separated Slack user IDs). |
kick | conversations.kick | channelId*, userId*. |
join | conversations.join | channelId* — joins the bot itself to a public channel. |
leave | conversations.leave | channelId*. |
getMembers | conversations.members | channelId*, returnAll (default true), limit (default 200). |
Read / list operations
| Operation | Slack Method | Fields |
|---|---|---|
get | conversations.info | channelId*. |
getMany | conversations.list | returnAll (default false), limit (default 200), excludeArchived (default true), types (comma-separated: public_channel, private_channel, mpim, im). |
getHistory | conversations.history | channelId*, returnAll (default true), limit (default 100), oldest, latest (Slack timestamp bounds). |
getReplies | conversations.replies | channelId*, threadTs*, returnAll (default true), limit (default 100). |
Metadata operations
| Operation | Slack Method | Fields |
|---|---|---|
setPurpose | conversations.setPurpose | channelId*, purpose*. |
setTopic | conversations.setTopic | channelId*, topic*. |
* = required.