Slack Integration Setup
This Integration supports multiple instances
Check out the instructions to set up multiple instances here.
The Slack integration allows Rewst users to set up real-time notifications and updates from Rewst directly within Slack. Additionally, Rewst can help with Slack user management, app management, group management, and auth management. The integration also enables users to search and access Rewst content from Slack, saving time and effort. Rewst users can set up triggers and actions that keep the team informed about their task progress or important events.
Setup
Navigate to the integrations page in Rewst.
Click on the Slack integration.
Fill out the configuration form.
Click on the OAuth Configuration Authorize/Re-Authorize button.
Select Allow in the Slack "requesting permissions" popup window.
Actions
Apps
apps.uninstallβ
Uninstalls your app from a workspace.
client_id
Issued when you created your application.
String
client_secret
Issued when you created your application.
String
token
Authentication token. Requires scope: none
String
Auth
auth.revokeβ
Revokes a token.
test
Setting this parameter to 1
triggers a testing mode where the specified token will not actually be revoked.
Boolean
token
Authentication token. Requires scope: none
String
auth.testβ
Checks authentication & identity.
token
Authentication token. Requires scope: none
String
Chat
chat.deleteβ
Deletes a message.
as_user
Pass true to delete the message as the authed user with chat:write:user
scope. Bot users in this context are considered authed users. If unused or false, the message will be deleted with chat:write:bot
scope.
Boolean
channel
Channel containing the message to be deleted.
String
token
Authentication token. Requires scope: chat:write
String
ts
Timestamp of the message to be deleted.
Number (float)
chat.deleteScheduledMessageβ
Deletes a pending scheduled message from the queue.
as_user
Pass true to delete the message as the authed user with chat:write:user
scope. Bot users in this context are considered authed users. If unused or false, the message will be deleted with chat:write:bot
scope.
Boolean
channel*
The channel the scheduled_message is posting to
String
scheduled_message_id*
scheduled_message_id
returned from call to chat.scheduleMessage
String
token
Authentication token. Requires scope: chat:write
String
chat.getPermalinkβ
Retrieve a permalink URL for a specific extant message
channel*
The ID of the conversation or channel containing the message
String
message_ts*
A message's ts
value, uniquely identifying it within a channel
String
token
Authentication token. Requires scope: none
String
chat.meMessageβ
Share a me message into a channel.
channel
Channel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name.
String
text
Text of the message to send.
String
token
Authentication token. Requires scope: chat:write:user
String
chat.postEphemeralβ
Sends an ephemeral message to a user in a channel.
as_user
Pass true to post the message as the authed user. Defaults to true if the chat:write:bot scope is not included. Otherwise, defaults to false.
Boolean
attachments
A JSON-based array of structured attachments, presented as a URL-encoded string.
String
blocks
A JSON-based array of structured blocks, presented as a URL-encoded string.
String
channel*
Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name.
String
icon_emoji
Emoji to use as the icon for this message. Overrides icon_url
. Must be used in conjunction with as_user
set to false
, otherwise ignored. See authorship below.
String
icon_url
URL to an image to use as the icon for this message. Must be used in conjunction with as_user
set to false, otherwise ignored. See authorship below.
String
link_names
Find and link channel names and usernames.
Boolean
parse
Change how messages are treated. Defaults to none
. See below.
String
text
How this field works and whether it is required depends on other fields you use in your API call. See below for more detail.
String
thread_ts
Provide another message's ts
value to post this message in a thread. Avoid using a reply's ts
value; use its parent's value instead. Ephemeral messages in threads are only shown if there is already an active thread.
String
token
Authentication token. Requires scope: chat:write
String
user*
id
of the user who will receive the ephemeral message. The user should be in the channel specified by the channel
argument.
String
username
Set your bot's user name. Must be used in conjunction with as_user
set to false, otherwise ignored. See authorship below.
String
chat.postMessageβ
Sends a message to a channel.
attachments
A JSON-based array of structured attachments, presented as a URL-encoded string.
String
blocks
A JSON-based array of structured blocks, presented as a URL-encoded string.
String
channel*
Channel, private group, or IM channel to send message to. Note: the App must first be invited to private channels first
String
icon_emoji
Emoji to use as the icon for this message. Overrides icon_url
. Must be used in conjunction with as_user
set to false
, otherwise ignored. See authorship below.
String
icon_url
URL to an image to use as the icon for this message. Must be used in conjunction with as_user
set to false, otherwise ignored. See authorship below.
String
link_names
Find and link channel names and usernames.
Boolean
mrkdwn
Disable Slack markup parsing by setting to false
. Enabled by default.
Boolean
parse
Change how messages are treated. Defaults to none
. See below.
String
reply_broadcast
Used in conjunction with thread_ts
and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to false
.
Boolean
text
How this field works and whether it is required depends on other fields you use in your API call. See below for more detail.
String
thread_ts
Provide another message's ts
value to make this message a reply. Avoid using a reply's ts
value; use its parent instead.
String
unfurl_links
Pass true to enable unfurling of primarily text-based content.
Boolean
unfurl_media
Pass false to disable unfurling of media content.
Boolean
username
Set your bot's user name. See authorship below.
String
chat.scheduledMessages.listβ
Returns a list of scheduled messages.
channel
The channel of the scheduled messages
String
cursor
For pagination purposes, this is the cursor
value returned from a previous call to chat.scheduledmessages.list
indicating where you want to start this call from.
String
latest
A UNIX timestamp of the latest value in the time range
Number (float)
limit
Maximum number of original entries to return.
Integer
oldest
A UNIX timestamp of the oldest value in the time range
Number (float)
token
Authentication token. Requires scope: none
String
chat.scheduleMessageβ
Schedules a message to be sent to a channel.
as_user
Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See chat.postMessage.
Boolean
attachments
A JSON-based array of structured attachments, presented as a URL-encoded string.
String
blocks
A JSON-based array of structured blocks, presented as a URL-encoded string.
String
channel
Channel, private group, or DM channel to send message to. Can be an encoded ID, or a name. See below for more details.
String
link_names
Find and link channel names and usernames.
Boolean
parse
Change how messages are treated. Defaults to none
. See chat.postMessage.
String
post_at
Unix EPOCH timestamp of time in future to send the message.
String
reply_broadcast
Used in conjunction with thread_ts
and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to false
.
Boolean
text
How this field works and whether it is required depends on other fields you use in your API call. See below for more detail.
String
thread_ts
Provide another message's ts
value to make this message a reply. Avoid using a reply's ts
value; use its parent instead.
Number (float)
token
Authentication token. Requires scope: chat:write
String
unfurl_links
Pass true to enable unfurling of primarily text-based content.
Boolean
unfurl_media
Pass false to disable unfurling of media content.
Boolean
chat.unfurlβ
Provide custom unfurl behavior for user-posted URLs
channel*
Channel ID of the message
String
token
Authentication token. Requires scope: links:write
String
ts*
Timestamp of the message to add unfurl behavior to.
String
unfurls
URL-encoded JSON map with keys set to URLs featured in the the message, pointing to their unfurl blocks or message attachments.
String
user_auth_message
Provide a simply-formatted string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior
String
user_auth_required
Set to true
or 1
to indicate the user must install your Slack app to trigger unfurls for this domain
Boolean
user_auth_url
Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling. Value should be properly URL-encoded.
String
chat.updateβ
Updates a message.
as_user
Pass true to update the message as the authed user. Bot users in this context are considered authed users.
String
attachments
A JSON-based array of structured attachments, presented as a URL-encoded string. This field is required when not presenting text
.
String
blocks
A JSON-based array of structured blocks, presented as a URL-encoded string.
String
channel*
Channel containing the message to be updated.
String
link_names
Find and link channel names and usernames. Defaults to none
. See below.
String
parse
Change how messages are treated. Defaults to client
, unlike chat.postMessage
. Accepts either none
or full
. See below.
String
text
New text for the message, using the default formatting rules. It's not required when presenting attachments
.
String
token
Authentication token. Requires scope: chat:write
String
ts*
Timestamp of the message to be updated.
String
Conversations
conversations.archiveβ
Archives a conversation.
channel
ID of conversation to archive
String
token
Authentication token. Requires scope: conversations:write
String
conversations.closeβ
Closes a direct message or multi-person direct message.
channel
Conversation to close.
String
token
Authentication token. Requires scope: conversations:write
String
conversations.createβ
Initiates a public or private channel-based conversation
is_private
Create a private channel instead of a public one
Boolean
name
Name of the public or private channel to create
String
token
Authentication token. Requires scope: conversations:write
String
user_ids
Required for workspace apps. A list of between 1 and 30 human users that will be added to the newly-created conversation. This argument has no effect when used by classic Slack apps.
String
conversations.historyβ
Fetches a conversation's history of messages and events.
channel
Conversation ID to fetch history for.
String
cursor
Paginate through collections of data by setting the cursor
parameter to a next_cursor
attribute returned by a previous request's response_metadata
. Default value fetches the first "page" of the collection.
String
inclusive
Include messages with latest or oldest timestamp in results only when either timestamp is specified.
Boolean
latest
End of time range of messages to include in results.
Number (float)
limit
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.
Integer
oldest
Start of time range of messages to include in results.
Number (float)
token
Authentication token. Requires scope: conversations:history
String
conversations.infoβ
Retrieve information about a conversation.
channel
Conversation ID to learn more about
String
include_locale
Set this to true
to receive the locale for this conversation. Defaults to false
Boolean
include_num_members
Set to true
to include the member count for the specified conversation. Defaults to false
Boolean
token
Authentication token. Requires scope: conversations:read
String
conversations.inviteβ
Invites users to a channel.
channel
The ID of the public or private channel to invite user(s) to.
String
token
Authentication token. Requires scope: conversations:write
String
users
A comma separated list of user IDs. Up to 1000 users may be listed.
String
conversations.joinβ
Joins an existing conversation.
channel
ID of conversation to join
String
token
Authentication token. Requires scope: channels:write
String
conversations.kickβ
Removes a user from a conversation.
channel
ID of conversation to remove user from.
String
token
Authentication token. Requires scope: conversations:write
String
user
User ID to be removed.
String
conversations.leaveβ
Leaves a conversation.
channel
Conversation to leave
String
token
Authentication token. Requires scope: conversations:write
String
conversations.listβ
Lists all channels in a Slack team.
cursor
Paginate through collections of data by setting the cursor
parameter to a next_cursor
attribute returned by a previous request's response_metadata
. Default value fetches the first "page" of the collection.
String
exclude_archived
Set to true
to exclude archived channels from the list
Boolean
limit
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000.
Integer
token
Authentication token. Requires scope: conversations:read
String
types
Mix and match channel types by providing a comma-separated list of any combination of public_channel
, private_channel
, mpim
, im
String
conversations.membersβ
Retrieve members of a conversation.
channel
ID of the conversation to retrieve members for
String
cursor
Paginate through collections of data by setting the cursor
parameter to a next_cursor
attribute returned by a previous request's response_metadata
. Default value fetches the first "page" of the collection.
String
limit
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.
Integer
token
Authentication token. Requires scope: conversations:read
String
conversations.openβ
Opens or resumes a direct message or multi-person direct message.
channel
Resume a conversation by supplying an im
or mpim
's ID. Or provide the users
field instead.
String
return_im
Boolean, indicates you want the full IM channel definition in the response.
Boolean
token
Authentication token. Requires scope: conversations:write
String
users
Comma separated lists of users. If only one user is included, this creates a 1:1 DM. The ordering of the users is preserved whenever a multi-person direct message is returned. Supply a channel
when not supplying users
.
String
conversations.renameβ
Renames a conversation.
channel
ID of conversation to rename
String
name
New name for conversation.
String
token
Authentication token. Requires scope: conversations:write
String
conversations.repliesβ
Retrieve a thread of messages posted to a conversation
channel
Conversation ID to fetch thread from.
String
cursor
Paginate through collections of data by setting the cursor
parameter to a next_cursor
attribute returned by a previous request's response_metadata
. Default value fetches the first "page" of the collection.
String
inclusive
Include messages with latest or oldest timestamp in results only when either timestamp is specified.
Boolean
latest
End of time range of messages to include in results.
Number (float)
limit
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.
Integer
oldest
Start of time range of messages to include in results.
Number (float)
token
Authentication token. Requires scope: conversations:history
String
ts
Unique identifier of a thread's parent message.
Number (float)
conversations.setPurposeβ
Sets the purpose for a conversation.
channel
Conversation to set the purpose of
String
purpose
A new, specialer purpose
String
token
Authentication token. Requires scope: conversations:write
String
conversations.setTopicβ
Sets the topic for a conversation.
channel
Conversation to set the topic of
String
token
Authentication token. Requires scope: conversations:write
String
topic
The new topic string. Does not support formatting or linkification.
String
conversations.unarchiveβ
Reverses conversation archival.
channel
ID of conversation to unarchive
String
token
Authentication token. Requires scope: conversations:write
String
Dialog
dialog.openβ
Open a dialog with a user
dialog*
The dialog definition. This must be a JSON-encoded string.
String
token
Authentication token. Requires scope: none
String
trigger_id*
Exchange a trigger to post to the user.
String
Files
files.comments.addβ
Add a comment to an existing file.
token
String
comment*
String
file*
String
files.comments.deleteβ
Deletes an existing comment on a file.
file
File to delete a comment from.
String
id
The comment to delete.
String
token
Authentication token. Requires scope: files:write:user
String
files.comments.editβ
Edit an existing file comment.
token
String
comment*
String
file*
String
id*
String
files.deleteβ
Deletes a file.
file
ID of file to delete.
String
token
Authentication token. Requires scope: files:write:user
String
files.infoβ
Gets information about a team file.
count
String
cursor
Parameter for pagination. File comments are paginated for a single file. Set cursor
equal to the next_cursor
attribute returned by the previous request's response_metadata
. This parameter is optional, but pagination is mandatory: the default value fetches the first "page" of the collection of comments.
String
file
Specify a file by providing its ID.
String
limit
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached.
Integer
page
String
token
Authentication token. Requires scope: files:read
String
files.listβ
Lists & filters team files.
channel
Filter files appearing in a specific channel, indicated by its ID.
String
count
String
page
String
show_files_hidden_by_limit
Show truncated file info for files hidden due to being too old, and the team who owns the file being over the file limit.
Boolean
token
Authentication token. Requires scope: files:read
String
ts_from
Filter files created after this timestamp (inclusive).
Number (float)
ts_to
Filter files created before this timestamp (inclusive).
Number (float)
types
Filter files by type. You can pass multiple values in the types argument, like types=spaces,snippets
.The default value is all
, which does not filter the list.
String
user
Filter files created by a single user.
String
files.remote.addβ
Adds a file from a remote service
external_id
Creator defined GUID for the file.
String
external_url
URL of the remote file.
String
filetype
type of file
String
indexable_file_contents
A text file (txt, pdf, doc, etc.) containing textual search terms that are used to improve discovery of the remote file.
String
preview_image
Preview of the document via multipart/form-data
.
String
title
Title of the file being shared.
String
token
Authentication token. Requires scope: remote_files:write
String
files.remote.infoβ
Retrieve information about a remote file added to Slack
external_id
Creator defined GUID for the file.
String
file
Specify a file by providing its ID.
String
token
Authentication token. Requires scope: remote_files:read
String
files.remote.listβ
Retrieve information about a remote file added to Slack
channel
Filter files appearing in a specific channel, indicated by its ID.
String
cursor
Paginate through collections of data by setting the cursor
parameter to a next_cursor
attribute returned by a previous request's response_metadata
. Default value fetches the first "page" of the collection.
String
limit
The maximum number of items to return.
Integer
token
Authentication token. Requires scope: remote_files:read
String
ts_from
Filter files created after this timestamp (inclusive).
Number (float)
ts_to
Filter files created before this timestamp (inclusive).
Number (float)
files.remote.removeβ
Remove a remote file.
external_id
Creator defined GUID for the file.
String
file
Specify a file by providing its ID.
String
token
Authentication token. Requires scope: remote_files:write
String
files.remote.shareβ
Share a remote file into a channel.
channels
Comma-separated list of channel IDs where the file will be shared.
String
external_id
Creator defined GUID for the file.
String
file
Specify a file by providing its ID.
String
token
Authentication token. Requires scope: remote_files:share
String
files.remote.updateβ
Updates an existing remote file.
external_id
Creator defined GUID for the file.
String
external_url
URL of the remote file.
String
file
Specify a file by providing its ID.
String
filetype
type of file
String
indexable_file_contents
File containing contents that can be used to improve searchability for the remote file.
String
preview_image
Preview of the document via multipart/form-data
.
String
title
Title of the file being shared.
String
token
Authentication token. Requires scope: remote_files:write
String
files.revokePublicURLβ
Revokes public/external sharing access for a file
file
File to revoke
String
token
Authentication token. Requires scope: files:write:user
String
files.sharedPublicURLβ
Enables a file for public/external sharing.
file
File to share
String
token
Authentication token. Requires scope: files:write:user
String
Post Confirmation Message
Post Confirmationβ
Sends a Slack message with approve and deny options and pauses the workflow until a response is received
Channel*
String
message*
String
Buttons
A list of buttons that can be used to resume the workflow
Array Buttons
Buttonsβ
Label
String
Value
String
Style
String
Reminders
reminders.addβ
Creates a reminder.
text
The content of the reminder
String
time
When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex. "in 15 minutes," or "every Thursday")
String
token
Authentication token. Requires scope: reminders:write
String
user
The user who will receive the reminder. If no user is specified, the reminder will go to user who created it.
String
reminders.completeβ
Marks a reminder as complete.
reminder
The ID of the reminder to be marked as complete
String
token
Authentication token. Requires scope: reminders:write
String
reminders.deleteβ
Deletes a reminder.
reminder
The ID of the reminder
String
token
Authentication token. Requires scope: reminders:write
String
reminders.infoβ
Gets information about a reminder.
reminder
The ID of the reminder
String
token
Authentication token. Requires scope: reminders:read
String
reminders.listβ
Lists all reminders created by or for a given user.
token
Authentication token. Requires scope: reminders:read
String
Usergroups
usergroups.createβ
Create a User Group
channels
A comma separated string of encoded channel IDs for which the User Group uses as a default.
String
description
A short description of the User Group.
String
handle
A mention handle. Must be unique among channels, users and User Groups.
String
include_count
Include the number of users in each User Group.
Boolean
name*
A name for the User Group. Must be unique among User Groups.
String
token
Authentication token. Requires scope: usergroups:write
String
usergroups.disableβ
Disable an existing User Group
include_count
Include the number of users in the User Group.
Boolean
token
Authentication token. Requires scope: usergroups:write
String
usergroup*
The encoded ID of the User Group to disable.
String
usergroups.enableβ
Enable a User Group
include_count
Include the number of users in the User Group.
Boolean
token
Authentication token. Requires scope: usergroups:write
String
usergroup*
The encoded ID of the User Group to enable.
String
usergroups.listβ
List all User Groups for a team
include_count
Include the number of users in each User Group.
Boolean
include_disabled
Include disabled User Groups.
Boolean
include_users
Include the list of users for each User Group.
Boolean
token
Authentication token. Requires scope: usergroups:read
String
usergroups.updateβ
Update an existing User Group
channels
A comma separated string of encoded channel IDs for which the User Group uses as a default.
String
description
A short description of the User Group.
String
handle
A mention handle. Must be unique among channels, users and User Groups.
String
include_count
Include the number of users in the User Group.
Boolean
name
A name for the User Group. Must be unique among User Groups.
String
token
Authentication token. Requires scope: usergroups:write
String
usergroup*
The encoded ID of the User Group to update.
String
usergroups.users.listβ
List all users in a User Group
include_disabled
Allow results that involve disabled User Groups.
Boolean
token
Authentication token. Requires scope: usergroups:read
String
usergroup*
The encoded ID of the User Group to update.
String
usergroups.users.updateβ
Update the list of users for a User Group
include_count
Include the number of users in the User Group.
Boolean
token
Authentication token. Requires scope: usergroups:write
String
usergroup*
The encoded ID of the User Group to update.
String
users*
A comma separated string of encoded user IDs that represent the entire list of users for the User Group.
String
Users
users.conversationsβ
List conversations the calling user may access.
cursor
Paginate through collections of data by setting the cursor
parameter to a next_cursor
attribute returned by a previous request's response_metadata
. Default value fetches the first "page" of the collection.
String
exclude_archived
Set to true
to exclude archived channels from the list
Boolean
limit
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000.
Integer
token
Authentication token. Requires scope: conversations:read
String
types
Mix and match channel types by providing a comma-separated list of any combination of public_channel
, private_channel
, mpim
, im
String
user
Browse conversations by a specific user ID's membership. Non-public channels are restricted to those where the calling user shares membership.
String
users.identityβ
Get a user's identity.
token
Authentication token. Requires scope: identity.basic
String
users.infoβ
Gets information about a user.
include_locale
Set this to true
to receive the locale for this user. Defaults to false
Boolean
token
Authentication token. Requires scope: users:read
String
user
User to get info on
String
users.listβ
Lists all users in a Slack team.
cursor
Paginate through collections of data by setting the cursor
parameter to a next_cursor
attribute returned by a previous request's response_metadata
. Default value fetches the first "page" of the collection.
String
include_locale
Set this to true
to receive the locale for users. Defaults to false
Boolean
limit
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.
Integer
token
Authentication token. Requires scope: users:read
String
users.lookupByEmailβ
Find a user with an email address.
An email address belonging to a user in the workspace
String
token
Authentication token. Requires scope: users:read.email
String
Views
views.openβ
Open a view for a user.
token
Authentication token. Requires scope: none
String
trigger_id*
Exchange a trigger to post to the user.
String
view*
A view payload. This must be a JSON-encoded string.
String
views.publishβ
Publish a static view for a User.
hash
A string that represents view state to protect against possible race conditions.
String
token
Authentication token. Requires scope: none
String
user_id*
id
of the user you want publish a view to.
String
view*
A view payload. This must be a JSON-encoded string.
String
views.pushβ
Push a view onto the stack of a root view.
token
Authentication token. Requires scope: none
String
trigger_id*
Exchange a trigger to post to the user.
String
view*
A view payload. This must be a JSON-encoded string.
String
views.updateβ
Update an existing view.
external_id
A unique identifier of the view set by the developer. Must be unique for all views on a team. Max length of 255 characters. Either view_id
or external_id
is required.
String
hash
A string that represents view state to protect against possible race conditions.
String
token
Authentication token. Requires scope: none
String
view
A view payloadThis must be a JSON-encoded string.
String
view_id
A unique identifier of the view to be updated. Either view_id
or external_id
is required.
String
Last updated