Slack
Slack is a team collaboration tool that lets you communicate in the persistent chat rooms, organized by topic, as well as private groups and direct messaging, where all content is searchable. webMethods CloudStreams Provider for Slack integrates webMethods CloudStreams with Slack.
API Versions: V2
API Types: REST
Authentication and Authorization: OAuth 2.0
Key Capabilities: Searchable communication in topic-based chat rooms, private groups, and direct messages.
Prerequisites:
- Slack account
- Working IBM® webMethods Integration tenant
Custom Actions
-
api.test: Helps to test the code.
-
auth.test: Checks the authentication for a user.
-
auth.revoke: Revokes an access token. Use it when you no longer need a token. For example, with a Sign In With Slack app, call this to log out a user.
-
bots.info: Returns the information about a bot user.
-
conversations.kick: Removes a user from a conversation.
-
conversations.rename: Renames a conversation.
-
conversations.unarchive: Reverses conversation archival.
-
conversations.invite: Invites users to a channel.
-
conversations.setTopic: Sets the topic for a conversation.
-
conversations.join: Joins an existing conversation.
-
conversations.create: Initiates a public or private channel-based conversation.
-
conversations.archive: Archives a conversation.
-
conversations.info: Retrieves information about a conversation.
-
conversations.mark: Moves the read cursor in a channel.
-
conversations.history: Fetches a conversation's history of messages and events.
-
conversations.leave: Leaves a conversation.
-
conversations.list: Lists all the channels in a Slack team.
-
conversations.setPurpose: Sets the purpose for a conversation.
-
chat.post Message: Sends a message to a channel.
-
chat.delete: Deletes a message from a channel.
-
chat.update: Updates a message.
-
chat.me Message: Shares a me message into a channel.
-
dnd.end Dnd: Ends the user's current scheduled Do Not Disturb session immediately.
-
dnd.info: Provides information about a user's current Do Not Disturb settings.
-
dnd.set Snooze: Turns on Do Not Disturb mode for the current user, or changes its duration.
-
dnd.team Info: Retrieves the Do Not Disturb status for up to 50 users on a team.
-
dnd.end Snooze: Ends the current user's snooze mode immediately.
-
emoji.list: Lists the custom emoji for a team.
-
files.comments.add: Adds a comment to an existing file.
-
files.comments.edit: Edits an existing comment on a file. Only the user who created a comment may make edits. Teams may configure a limited time window during which file comment edits are allowed.
-
files.comments.delete: Deletes an existing comment on a file. Only the original author of the comment or a Team Administrator can delete a file comment.
-
files.revoke Public URL: Revokes public/external sharing access for a file.
-
files.upload: Allows to create or upload an existing file.
-
files.uploadMultipartData: Allows to create or upload an existing file.
-
files.list: Retrieves the list for a team, in a channel, or from a user with applied filters.
-
files.shared Public URL: Enables public/external sharing for a file.
-
files.info: Retrieves information about a file in your team.
-
files.delete: Deletes a file from your team.
-
conversations.open: Opens or resumes a direct message or multi-person direct message.
-
oauth.access: Allows an exchange of a temporary OAuth code for an API access token.
-
pins.add: Pins an item (file, file comment, channel message, or group message) to a particular channel.
-
pins.remove: Un-pins an item (file, file comment, channel message, or group message) from a channel.
-
pins.list: Lists the items pinned to a channel.
-
reactions.add: Adds a reaction (emoji) to an item (file, file comment, channel message, group message, or direct message).
-
reactions.list: Retrieves a list of all items (file, file comment, channel message, group message, or direct message) reacted to by a user.
-
reactions.get: Retrieves a list of all reactions for a single item (file, file comment, channel message, group message, or direct message).
-
reactions.remove: Removes a reaction (emoji) from an item (file, file comment, channel message, group message, or direct message).
-
reminders.add: Creates a reminder.
-
reminders.delete: Deletes a reminder.
-
reminders.complete: Completes a reminder.
-
reminders.list: Lists all reminders created by or for a given user.
-
reminders.info: Retrieves information about a reminder.
-
rtm.start: Starts a Real Time Messaging API session.
-
search.messages: Retrieves messages matching a search query.
-
search.all: Allows the users and applications to search both messages and files in a single call.
-
search.files: Retrieves files matching a search query.
-
stars.add: Adds a star to an item (message, file, file comment, channel, private group, or DM).
-
stars.list: Lists the items starred by the authed user.
-
stars.remove: Removes a star from an item (message, file, file comment, channel, private group, or DM).
-
team.info: Provides the information about your team.
-
team.integration Logs: Lists the integration activity logs for a team, including when integrations are added, modified and removed. This method can be called only by Admins.
-
team.access Logs: Retrieves the access logs for the users on a team.
-
team.billable Info: Lists billable information for each user on the team.
-
team.profile.get: Retrieves the profile field definitions for this team.
-
usergroups.enable: Enables a User Group which was previously disabled.
-
usergroups.disable: Disables an existing User Group.
-
usergroups.update: Updates the properties of an existing User Group.
-
usergroups.list: Retrieves a list of all the User Groups in the team. This can optionally include disabled User Groups.
-
usergroups.create: Creates a User Group.
-
usergroups.users.update: Updates the list of the users that belong to a User Group. This method replaces all users in a User Group with the list of users provided in the users parameter.
-
usergroups.users.list: Retrieves a list of all the users within a User Group.
-
users.set Photo: Allows the user to set their profile image. The caller can pass image data via the image.
-
users.info: Retrieves information about a team member.
-
users.list: Retrieves a list of all the users in the team. This includes deleted/deactivated users.
-
users.set Presence: Lets you set the calling users manual presence.
-
users.get Presence: Lets you find out information about a users presence.
-
users.identity: Retrieves a user's identity after the Slack app is awarded an identity token through Sign in with Slack.
-
users.delete Photo: Allows the user to delete their profile image. It will clear whatever image is currently set.
-
users.profile.get: Retrieves the profile information for a user.
-
users.profile.set: Sets the profile information for a user.