Skip to main content

reactions.get method

Welcome to the new home of Slack developer docs!

We're still building and not all features are available quite yet. Enjoy this peek into the future!

Not ready for the future? Return to the past at api.slack.com.

Usage info

This method returns a list of all reactions for a single item (file, file comment, channel message, group message, or direct message).

Response

An item will always have a type property, while the other properties depend on the type of item. The possible types are:

  • message: the item will have a message property containing a message object and a channel property containing the channel ID for the message
  • file: this item will have a file property containing a file object
  • file_comment: the item will have a file property containing the file object and a comment property containing the file comment

The users array in the reactions property will always contain the authenticated user, but might not always contain all users that have reacted. The value of count, however, will always represent the count of all users who made that reaction (i.e. it may be greater than users.length).