slack
v1.0.1Manage channels, conversations, users, and workspace apps programmatically
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
verify_authentication Verify Authentication
Verifies that the provided authentication token is valid and returns information about the authenticated user or application.
get_bot_info Get Bot Info
Retrieves detailed information about a specific bot user. Requires authentication with users:read scope.
| Parameter | Type | Description |
|---|---|---|
bot | string | The bot user identifier to retrieve information for. If not provided, returns information about the authenticated bot making the request. |
update_call Update Call
Updates the join URLs and other metadata for an existing Call, allowing you to modify how clients access the call.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the Call to update, as returned by the calls.add method. |
desktop_app_join_url | string | A direct launch URL for the 3rd-party Call application on desktop clients. When provided, Slack clients will attempt to open the call directly using this URL instead of the standard join_url. |
join_url | string | The URL that clients use to join the Call. This is the primary join link for the call. |
delete_message Delete Message
Deletes a message from a channel. The message is identified by its timestamp, and deletion can be performed either as the authenticated user or as a bot, depending on the scope and parameters provided.
| Parameter | Type | Description |
|---|---|---|
as_user | boolean | When true, deletes the message as the authenticated user using the `chat:write:user` scope (applies to bot users as well). When false or omitted, deletes the message using the `chat:write:bot` scope. |
channel | string | Channel containing the message to be deleted. |
ts | number | The timestamp of the message to delete. This uniquely identifies the message within its channel. |
delete_scheduled_message Delete Scheduled Message
Removes a pending scheduled message from the queue before it is posted to a channel.
| Parameter | Type | Description |
|---|---|---|
channel * | string | The channel ID where the scheduled message is queued to be posted. |
scheduled_message_id * | string | The unique identifier of the scheduled message to delete, as returned from the chat.scheduleMessage operation. |
as_user | boolean | When true, deletes the message as the authenticated user with `chat:write:user` scope (applies to bot users as well). When false or omitted, uses `chat:write:bot` scope instead. |
get_message_permalink Get Message Permalink
Generate a shareable permalink URL for a specific message in a channel or conversation. This allows you to create direct links to individual messages that persist even if the original message is edited.
| Parameter | Type | Description |
|---|---|---|
channel * | string | The unique identifier of the channel or conversation containing the target message. |
message_ts * | string | The timestamp value (`ts`) of the message, which uniquely identifies it within the channel. |
send_me_message Send Me Message
Send a me message (action message) to a channel. Me messages are typically used to share actions or emotes in a conversational context.
| Parameter | Type | Description |
|---|---|---|
channel | string | Channel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name. |
text | string | The text content of the me message to send to the channel. |
send_ephemeral_message Send Ephemeral Message
Sends an ephemeral message visible only to a specific user in a channel. Ephemeral messages disappear after the user refreshes and are useful for temporary notifications or interactive responses.
| Parameter | Type | Description |
|---|---|---|
channel * | string | Target channel, private group, or direct message channel. Accepts encoded channel ID or channel name. |
user * | string | User ID of the recipient. The user must be a member of the specified channel to receive the ephemeral message. |
as_user | boolean | When true, posts the message as the authenticated user; when false, posts as the bot. Defaults based on available scopes. |
parse | string | Controls message formatting interpretation. Set to `none` by default to treat text literally, or use other values to enable special formatting. |
text | string | Message content. Required unless using block-based formatting. Supports text, mentions, and links depending on the `parse` setting. |
thread_ts | string | Parent message timestamp to post this message as a reply in a thread. Use the parent message's `ts` value, not a reply's timestamp. Only visible if the thread is already active. |
username | string | Custom display name for the bot. Only applies when `as_user` is false; ignored otherwise. |
send_message_to_channel Send Message to Channel
Sends a message to a Slack channel, private group, or direct message. Supports threaded replies, formatting options, and customizable authorship.
| Parameter | Type | Description |
|---|---|---|
channel * | string | Target destination for the message: a channel name, private group name, or encoded channel/user ID. |
as_user | string | When true, posts the message as the authenticated user instead of as a bot. Defaults to false. |
mrkdwn | boolean | When false, disables Slack markup parsing. Enabled by default to allow formatting. |
parse | string | Controls message formatting behavior. Defaults to `none`; see API documentation for available options. |
reply_broadcast | boolean | When true and used with `thread_ts`, makes the threaded reply visible to all channel members instead of just the thread participants. |
text | string | Message content. Required unless using blocks or other content fields. Supports text and Slack markup when `mrkdwn` is enabled. |
thread_ts | string | Timestamp of the parent message to create a threaded reply. Use the parent message's timestamp, not a reply's timestamp. |
unfurl_links | boolean | When true, enables automatic unfurling of text-based content links in the message. |
unfurl_media | boolean | When false, prevents automatic unfurling of media content (images, videos, etc.) in the message. |
username | string | Custom display name for the bot. Only used when `as_user` is false; ignored otherwise. |
schedule_message Schedule Message
Schedules a message to be delivered to a channel at a specified future time. The message content and formatting can be customized with optional parameters for parsing, unfurling, and threading.
| Parameter | Type | Description |
|---|---|---|
as_user | boolean | When true, posts the message as the authenticated user instead of as a bot. Defaults to false. |
channel | string | Channel, private group, or DM channel to send message to. Can be an encoded ID, or a name. See [below](#channels) for more details. |
parse | string | Controls how the message text is processed. Defaults to 'none'. Options include 'full' for markdown-style formatting and 'mrkdwn' for Slack's markup syntax. |
post_at | string | Unix EPOCH timestamp indicating when the message should be sent. Must be a future time. |
reply_broadcast | boolean | When true, makes a threaded reply visible to all channel members. Only applies when thread_ts is provided. Defaults to false. |
text | string | The message content to send. Required unless using blocks or other content structures. See formatting documentation for supported syntax options. |
thread_ts | number | The timestamp of a parent message to make this message a threaded reply. Use the parent message's timestamp, not a reply's timestamp. |
unfurl_links | boolean | When true, enables automatic expansion of text-based links (URLs, articles, etc.) into rich previews. |
unfurl_media | boolean | When false, prevents automatic expansion of media content (images, videos, etc.) in the message. |
list_scheduled_messages List Scheduled Messages
Retrieves a list of scheduled messages, optionally filtered by a time range. Use the oldest and latest parameters to narrow results to a specific period.
| Parameter | Type | Description |
|---|---|---|
latest | number | A UNIX timestamp marking the most recent message to include in the results. Messages scheduled at or before this time will be returned. |
limit | integer | The maximum number of scheduled messages to return in a single response. Useful for pagination and controlling response size. |
oldest | number | A UNIX timestamp marking the oldest message to include in the results. Messages scheduled at or after this time will be returned. |
update_message Update Message
Updates the text and formatting of an existing message in a channel. Requires the message timestamp and channel ID to identify which message to update.
| Parameter | Type | Description |
|---|---|---|
channel * | string | The channel ID containing the message to be updated. |
ts * | string | The timestamp (ts) of the message to be updated, used to uniquely identify the message within the channel. |
as_user | string | Set to `true` to update the message as the authenticated user (applies to bot users as well). Defaults to `false` if not specified. |
parse | string | Controls how the message content is parsed. Use `none` to disable formatting or `full` to enable all formatting rules. Defaults to `client` if not specified; omitting this parameter will reset to the… |
text | string | The new message text using standard formatting rules. Not required if `blocks` or `attachments` are being provided instead. |
archive_conversation Archive Conversation
Archives a conversation, removing it from the active conversation list while preserving its history for future reference.
| Parameter | Type | Description |
|---|---|---|
channel | string | ID of conversation to archive |
close_conversation Close Conversation
Closes an active direct message conversation, either between two users or among multiple participants. This action archives the conversation and prevents further messages in that thread.
| Parameter | Type | Description |
|---|---|---|
channel | string | Conversation to close. |
create_conversation Create Conversation
Creates a new conversation channel that can be either public or private. Public channels are visible to all users, while private channels restrict access to invited members only.
| Parameter | Type | Description |
|---|---|---|
is_private | boolean | Set to true to create a private channel with restricted access, or false (default) to create a public channel visible to all users. |
name | string | Name of the public or private channel to create |
get_conversation_history Get Conversation History
Retrieves the message and event history for a conversation within an optional time range. Results can be paginated and filtered by timestamp boundaries.
| Parameter | Type | Description |
|---|---|---|
channel | string | Conversation ID to fetch history for. |
inclusive | boolean | When true, includes messages with timestamps exactly matching the latest or oldest values; when false, excludes them. Only applies when at least one timestamp boundary is specified. |
latest | number | Unix timestamp marking the end of the time range; only messages up to this point are included in results. |
limit | integer | Maximum number of messages to return per request. The actual number returned may be less than requested, even if additional messages exist. |
oldest | number | Unix timestamp marking the start of the time range; only messages from this point forward are included in results. |
get_conversation_info Get Conversation Info
Retrieve detailed information about a specific conversation, optionally including locale and member count metadata.
| Parameter | Type | Description |
|---|---|---|
channel | string | Conversation ID to learn more about |
include_locale | boolean | Include the locale language and region information for the conversation in the response. |
include_num_members | boolean | Include the total number of members in the conversation in the response. |
add_users_to_conversation Add Users to Conversation
Adds one or more users to a conversation channel. Specify users by their IDs in a comma-separated list.
| Parameter | Type | Description |
|---|---|---|
channel | string | The ID of the public or private channel to invite user(s) to. |
users | string | A comma-separated list of user IDs to invite to the conversation. Up to 1000 users can be added in a single request. |
join_conversation Join Conversation
Joins the authenticated user to an existing conversation, enabling participation in the conversation's messages and interactions.
| Parameter | Type | Description |
|---|---|---|
channel | string | ID of conversation to join |
remove_user_from_conversation Remove User From Conversation
Removes a specified user from a conversation, effectively ending their participation in that conversation thread.
| Parameter | Type | Description |
|---|---|---|
channel | string | ID of conversation to remove user from. |
user | string | The unique identifier of the user to be removed from the conversation. |
leave_conversation Leave Conversation
Removes the authenticated user from a conversation, ending their participation and access to that conversation.
| Parameter | Type | Description |
|---|---|---|
channel | string | Conversation to leave |
list_conversations List Conversations
Retrieves a list of all conversations (channels and direct messages) in a Slack workspace, with options to filter by type and archive status.
| Parameter | Type | Description |
|---|---|---|
exclude_archived | boolean | When set to true, archived channels are excluded from the results. Useful for focusing on active conversations only. |
limit | integer | Maximum number of conversations to return per request, up to 1000. The API may return fewer items than requested even if more results are available. |
types | string | Filters conversations by type using a comma-separated list. Supported types are public_channel, private_channel, mpim (multi-person direct messages), and im (direct messages). Omit to include all type… |
mark_conversation_read Mark Conversation Read
Mark a conversation as read by setting the read cursor to a specific message timestamp. This updates your read position in the channel.
| Parameter | Type | Description |
|---|---|---|
ts * | number | The message timestamp to mark as read. If provided, sets your read cursor to this message; if omitted, marks the entire conversation as read up to the current time. |
channel | string | Channel or conversation to set the read cursor for. |
list_conversation_members List Conversation Members
Retrieve a paginated list of members in a conversation. Use the limit parameter to control the number of results returned per request.
| Parameter | Type | Description |
|---|---|---|
channel | string | ID of the conversation to retrieve members for |
limit | integer | Maximum number of members to return in a single request. The API may return fewer members than requested if the end of the list is reached. |
open_direct_message Open Direct Message
Opens or resumes a direct message conversation, either a 1:1 DM with a single user or a multi-person DM with multiple users. The conversation is created if it doesn't exist, or resumed if it already does.
| Parameter | Type | Description |
|---|---|---|
return_im | boolean | When true, returns the complete direct message channel definition in the response, including all channel metadata and settings. |
users | string | Comma-separated list of user identifiers to include in the direct message. Provide a single user for a 1:1 DM, or multiple users for a group DM. The order of users is preserved in the returned convers… |
update_conversation Rename Conversation
Updates the name of an existing conversation. This operation allows you to rename a conversation to better organize or identify it.
| Parameter | Type | Description |
|---|---|---|
channel | string | ID of conversation to rename |
name | string | New name for conversation. |
get_conversation_thread Get Conversation Thread
Retrieve a thread of messages from a conversation, including a parent message and all its replies within an optional time range.
| Parameter | Type | Description |
|---|---|---|
channel | string | Conversation ID to fetch thread from. |
inclusive | boolean | When true, includes messages that match the exact latest or oldest timestamp in results. Only applies when at least one of those timestamps is specified. |
latest | number | The end of the time range for filtering messages, specified as a Unix timestamp. Only messages up to this time will be included in results. |
limit | integer | The maximum number of messages to return in a single response. The actual number returned may be less if the thread contains fewer messages than requested. |
oldest | number | The start of the time range for filtering messages, specified as a Unix timestamp. Only messages from this time onward will be included in results. |
ts | number | The timestamp of the parent message whose thread you want to retrieve. This message must exist and can have zero or more replies; if there are no replies, only the parent message itself is returned. |
update_conversation_purpose Update Conversation Purpose
Updates the purpose or topic description for a conversation. This helps organize and clarify the conversation's intent.
| Parameter | Type | Description |
|---|---|---|
channel | string | Conversation to set the purpose of |
purpose | string | The new purpose or topic description for the conversation. Provide a clear, concise statement that describes the conversation's intent or focus. |
update_conversation_topic Update Conversation Topic
Updates the topic for a conversation. The topic is a plain text string used to label or describe the conversation's subject matter.
| Parameter | Type | Description |
|---|---|---|
channel | string | Conversation to set the topic of |
topic | string | The new topic string for the conversation. Plain text only; formatting and linkification are not supported. |
unarchive_conversation Unarchive Conversation
Restores an archived conversation to active status, reversing the archival action and making it accessible again.
| Parameter | Type | Description |
|---|---|---|
channel | string | ID of conversation to unarchive |
disable_dnd Disable Do Not Disturb
Immediately deactivates the current user's Do Not Disturb mode, restoring normal notification delivery.
end_dnd_snooze End DND Snooze
Immediately ends the current user's do-not-disturb snooze mode, restoring normal notification delivery.
get_dnd_status Get Do Not Disturb Status
Retrieves the current Do Not Disturb status for a user, indicating whether they have notifications muted or disabled.
| Parameter | Type | Description |
|---|---|---|
user | string | The user ID or username to fetch the Do Not Disturb status for. If not provided, returns the status for the authenticated user making the request. |
enable_do_not_disturb Enable Do Not Disturb
Activates Do Not Disturb mode for the current user with a specified duration. If Do Not Disturb is already active, this updates the snooze duration.
| Parameter | Type | Description |
|---|---|---|
num_minutes * | string | Duration in minutes from the current time until Do Not Disturb mode should automatically turn off. Must be a positive integer. |
get_team_dnd_status Get Team Do Not Disturb Status
Retrieves the Do Not Disturb status for specified users on a team, allowing you to check up to 50 users at once.
| Parameter | Type | Description |
|---|---|---|
users * | string | Comma-separated list of user identifiers to retrieve Do Not Disturb status for. Supports up to 50 users per request. |
list_emoji List Emoji
Retrieves all custom emoji configured for the workspace. This includes emoji names, URLs, and metadata for all custom emoji available to team members.
delete_file_comment Delete File Comment
Deletes an existing comment on a file. Requires the comment ID to identify which comment to remove.
| Parameter | Type | Description |
|---|---|---|
file | string | File to delete a comment from. |
id | string | The unique identifier of the comment to delete. |
delete_file Delete File
Permanently deletes a file from the system. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
file | string | ID of file to delete. |
get_file_info Get File Info
Retrieves metadata and information about a specific file, including details such as size, type, timestamps, and other file attributes.
| Parameter | Type | Description |
|---|---|---|
file | string | Specify a file by providing its ID. |
limit | integer | The maximum number of file records to return in the response. The API may return fewer items than requested if the end of the list is reached. |
list_files List Files
Retrieve a list of files with optional filtering by user, date range, file type, and visibility. Supports showing truncated information for files hidden due to age or team file limits.
| Parameter | Type | Description |
|---|---|---|
show_files_hidden_by_limit | boolean | When enabled, includes truncated file information for files hidden due to age or the team exceeding file storage limits. Defaults to false. |
ts_from | number | Filter results to files created on or after this timestamp (inclusive). Use Unix timestamp format. |
ts_to | number | Filter results to files created on or before this timestamp (inclusive). Use Unix timestamp format. |
types | string | Filter results by file type. Accepts multiple comma-separated values (e.g., spaces,snippets). Defaults to all types if not specified. |
user | string | Filter results to files created by a specific user. Provide the user identifier. |
revoke_file_public_url Revoke File Public URL
Revokes public and external sharing access for a file, preventing further access via public URLs.
| Parameter | Type | Description |
|---|---|---|
file | string | File to revoke |
enable_file_public_sharing Enable File Public Sharing
Enables public sharing for a file by generating a shareable public URL that allows external users to access the file without authentication.
| Parameter | Type | Description |
|---|---|---|
file | string | File to share |
add_pin_to_channel Add Pin to Channel
Pins a message to a channel, making it easily accessible to channel members. Requires authentication with pins:write scope.
| Parameter | Type | Description |
|---|---|---|
channel * | string | The channel where the item will be pinned. Specify the channel ID or name. |
timestamp | string | The timestamp of the message to pin. Use the message's timestamp identifier to specify which message should be pinned. |
list_channel_pins List Channel Pins
Retrieves all items pinned to a specified channel. Pinned items are messages or files that have been marked for easy reference within the channel.
| Parameter | Type | Description |
|---|---|---|
channel * | string | The channel ID or name to retrieve pinned items from. |
remove_pin_from_channel Remove Pin from Channel
Removes a pinned message from a channel. Specify the channel and optionally the message timestamp to un-pin.
| Parameter | Type | Description |
|---|---|---|
channel * | string | The channel ID or name where the pinned item is located. |
timestamp | string | The timestamp of the specific message to un-pin. If omitted, the most recently pinned message in the channel will be removed. |
add_reaction_to_message Add Reaction to Message
Adds an emoji reaction to a message in a channel. Requires authentication with reactions:write scope.
| Parameter | Type | Description |
|---|---|---|
channel * | string | The channel ID where the message to react to is located. |
name * | string | The emoji name to add as a reaction (e.g., 'thumbsup', 'heart'). Use the emoji name without colons or special characters. |
timestamp * | string | The message timestamp (in seconds or milliseconds since epoch) identifying which message to add the reaction to. |
get_reactions Get Reactions
Retrieves all reactions added to a specific message, file comment, or other item. Use this to see what emoji reactions users have added to content.
| Parameter | Type | Description |
|---|---|---|
channel | string | Channel where the message to get reactions for was posted. |
file | string | File to get reactions for. |
file_comment | string | The file comment to retrieve reactions for. Specify either this parameter, timestamp, or neither to get reactions for the item context. |
full | boolean | When true, returns the complete list of all reactions. When false or omitted, may return a truncated list. |
timestamp | string | The timestamp of the message to retrieve reactions for, typically in Unix epoch format. Specify either this parameter, file_comment, or neither to get reactions for the item context. |
list_user_reactions List User Reactions
Retrieves a list of emoji reactions made by a user. By default, returns reactions from the authenticated user, but can be filtered to show reactions from a specific user.
| Parameter | Type | Description |
|---|---|---|
full | boolean | When enabled, returns the complete list of all reactions without pagination limits. |
limit | integer | Maximum number of reactions to return per request. The actual number returned may be less than requested if fewer items remain. |
user | string | The user whose reactions to retrieve. If not specified, defaults to the authenticated user. |
remove_reaction Remove Reaction
Removes an emoji reaction from a message or file comment. Specify either a message timestamp or file comment ID to identify the target item.
| Parameter | Type | Description |
|---|---|---|
name * | string | The emoji name of the reaction to remove (e.g., 'thumbsup', 'heart'). Must match the exact reaction name. |
channel | string | Channel where the message to remove reaction from was posted. |
file | string | File to remove reaction from. |
file_comment | string | The file comment ID from which to remove the reaction. Use this when removing a reaction from a file comment instead of a message. |
timestamp | string | The message timestamp identifying which message to remove the reaction from. Use this when removing a reaction from a message instead of a file comment. |
create_reminder Create Reminder
Creates a reminder that will be delivered at a specified time. The reminder can be scheduled for a specific Unix timestamp, a relative time within 24 hours, or using natural language descriptions.
| Parameter | Type | Description |
|---|---|---|
text * | string | The reminder message content that will be displayed to the recipient. |
time * | string | When the reminder should trigger: a Unix timestamp (up to five years in the future), seconds from now (for reminders within 24 hours), or natural language phrasing like 'in 15 minutes' or 'every Thurs… |
user | string | The user who will receive the reminder. If omitted, the reminder is assigned to the user who created it. |
search_messages Search Messages
Searches for messages matching a query string, with optional result highlighting and sorting capabilities. Returns matching messages from the workspace.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query string to match against message content. Supports the platform's standard search syntax. |
highlight | boolean | Enable query highlight markers in results to visually distinguish matched terms within message content. |
sort | string | Sort results by relevance score or message timestamp. Defaults to score-based sorting if not specified. |
sort_dir | string | Sort direction for results: ascending (`asc`) for oldest/lowest first, or descending (`desc`) for newest/highest first. |
add_star Add Star
Adds a star to a specific item, such as a file comment or message. Requires authentication with stars:write scope.
| Parameter | Type | Description |
|---|---|---|
channel | string | Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`). |
file_comment | string | The file comment identifier to star. Specify either this or timestamp, but not both. |
timestamp | string | The timestamp of the message to star. Specify either this or file_comment, but not both. |
list_stars List Stars
Retrieves a list of stars for the authenticated user, with optional pagination control.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of items to return per request. The API may return fewer items than requested if the end of the list is reached. |
remove_star Remove Star
Removes a star from a specific item, such as a file comment or message. Requires authentication with stars:write scope.
| Parameter | Type | Description |
|---|---|---|
channel | string | Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`). |
file_comment | string | The file comment to remove the star from. Either this or timestamp must be provided. |
timestamp | string | The timestamp of the message to remove the star from. Either this or file_comment must be provided. |
get_team_info Get Team Info
Retrieves information about a team. If no team is specified, returns information about the authenticated user's current team. The authenticated token must have the `team:read` scope.
| Parameter | Type | Description |
|---|---|---|
team | string | Optional team identifier to retrieve information for a specific team. If omitted, returns the current team. Only returns teams accessible to the authenticated token through external shared channels. |
get_team_profile Get Team Profile
Retrieve detailed profile information for a team, with optional filtering by visibility settings.
| Parameter | Type | Description |
|---|---|---|
visibility | string | Optional filter to retrieve only team profiles matching a specific visibility level. |
create_usergroup Create User Group
Create a new User Group with a unique name and optional configuration for channels, description, and mention handle.
| Parameter | Type | Description |
|---|---|---|
name * | string | A unique name for the User Group. Must not duplicate any existing User Group names. |
channels | string | Comma-separated list of encoded channel IDs to set as defaults for this User Group. |
description | string | A brief description of the User Group's purpose or membership. |
handle | string | A unique mention handle for the User Group. Must not conflict with existing channel names, user handles, or other User Group handles. |
include_count | boolean | When enabled, the response will include the count of users currently in the User Group. |
disable_usergroup Disable Usergroup
Disable an existing User Group, preventing its use while preserving its configuration and membership data.
| Parameter | Type | Description |
|---|---|---|
usergroup * | string | The encoded ID of the User Group to disable. This identifier uniquely identifies the target group. |
include_count | boolean | When enabled, the response will include a count of users currently in the User Group. |
enable_usergroup Enable Usergroup
Activate a disabled User Group, making it available for use. Optionally retrieve the current member count.
| Parameter | Type | Description |
|---|---|---|
usergroup * | string | The encoded ID of the User Group to enable. This identifier uniquely identifies the target User Group. |
include_count | boolean | When true, the response includes the total number of users currently in the User Group. |
list_usergroups List User Groups
Retrieve all User Groups configured for a team, with optional details about group membership and status.
| Parameter | Type | Description |
|---|---|---|
include_count | boolean | Include the total count of users in each User Group without listing individual members. |
include_disabled | boolean | Include User Groups that have been disabled in addition to active groups. |
include_users | boolean | Include the complete list of users belonging to each User Group in the response. |
update_usergroup Update Usergroup
Update an existing User Group's properties such as handle, description, and associated channels. Requires usergroups:write scope.
| Parameter | Type | Description |
|---|---|---|
usergroup * | string | The encoded ID of the User Group to update. This identifier is required to target the correct group. |
channels | string | A comma-separated list of encoded channel IDs to set as defaults for this User Group. |
description | string | A brief description of the User Group's purpose or membership. |
handle | string | A unique mention handle for the User Group. Must be distinct across all channels, users, and other User Groups in the workspace. |
include_count | boolean | When enabled, the response will include the total count of users currently in the User Group. |
list_usergroup_members List Usergroup Members
Retrieve all users who are members of a specified User Group. Optionally include users from disabled User Groups in the results.
| Parameter | Type | Description |
|---|---|---|
usergroup * | string | The encoded ID of the User Group whose members you want to list. |
include_disabled | boolean | When enabled, includes results from User Groups that are currently disabled. By default, only active User Groups are included. |
update_usergroup_users Update Usergroup Users
Update the complete membership of a User Group by replacing all users with a new list of user IDs.
| Parameter | Type | Description |
|---|---|---|
usergroup * | string | The encoded ID of the User Group to update. This identifies which group's membership will be replaced. |
users * | string | A comma-separated list of encoded user IDs that defines the complete new membership for the User Group. All previous members not in this list will be removed. |
include_count | boolean | When true, the response will include a count of the total number of users in the User Group. |
list_user_conversations List User Conversations
Retrieve a list of conversations (channels and direct messages) that the calling user has access to, with optional filtering by user membership, conversation type, and archive status.
| Parameter | Type | Description |
|---|---|---|
exclude_archived | boolean | Set to true to exclude archived conversations from the results. |
limit | integer | Maximum number of conversations to return per request. Must be between 1 and 1000; the API may return fewer items than requested even if more results are available. |
types | string | Filter by conversation type using a comma-separated list. Supported types are: public_channel, private_channel, mpim (multi-person direct message), and im (direct message). |
user | string | Filter conversations to only those where a specific user is a member. Non-public channels are only included if the calling user shares membership in them. |
delete_user_photo Delete User Photo
Remove the user's profile photo. Requires authentication with users.profile:write scope.
get_user_presence Get User Presence
Retrieves the presence status of a user. If no user is specified, returns the presence information for the authenticated user.
| Parameter | Type | Description |
|---|---|---|
user | string | The user whose presence information should be retrieved. If omitted, defaults to the authenticated user making the request. |
get_user_info Get User Info
Retrieves detailed information about a specific user, optionally including their locale preference.
| Parameter | Type | Description |
|---|---|---|
include_locale | boolean | Set to `true` to include the user's locale in the response; defaults to `false` if omitted. |
user | string | The user identifier to retrieve information for. If omitted, returns information for the authenticated user. |
list_users List Users
Retrieves all users in a Slack workspace. Results can be paginated and optionally include user locale information.
| Parameter | Type | Description |
|---|---|---|
include_locale | boolean | Include the locale setting for each user in the response. Defaults to false; set to true only if locale information is needed, as it may increase response size. |
limit | integer | Maximum number of users to return per request. Omitting this parameter attempts to return the entire user list, which may fail if the workspace is large; include a limit to ensure reliable pagination. |
get_user_by_email Get User by Email
Retrieve a user account by their email address. Returns the user object if found in the workspace.
| Parameter | Type | Description |
|---|---|---|
email * | string | The email address of the user to look up. Must be a valid email address associated with a user in the workspace. |
get_user_profile Get User Profile
Retrieves detailed profile information for a specified user or the authenticated user. Requires authentication with users.profile:read scope.
| Parameter | Type | Description |
|---|---|---|
include_labels | boolean | When enabled, includes human-readable labels for each identifier in custom profile fields, making the response more interpretable. |
user | string | The user identifier to retrieve profile information for. If omitted, returns the profile of the authenticated user making the request. |
update_user_presence Update User Presence
Manually set a user's presence status to either active (auto) or away. Requires authentication with users:write scope.
| Parameter | Type | Description |
|---|---|---|
presence * | string | Presence status to set for the user. Must be either 'auto' for active presence or 'away' for away status. |
users_set_photo Set User Photo
Set the user profile photo
| Parameter | Type | Description |
|---|---|---|
crop_w | string | Width/height of crop box (always square) |
crop_x | string | X coordinate of top-left corner of crop box |
crop_y | string | Y coordinate of top-left corner of crop box |
image | string | Base64-encoded file content for upload. File contents via `multipart/form-data`. |