> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Get Message Reactions

- Component: `appmixer.slack.reactions.GetMessageReactions`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.slack 6.0.7](https://connectors.appmixer.com/connector/appmixer.slack/6.0.7.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.slack/6.0.7/component/appmixer.slack.reactions.GetMessageReactions>

Return a list of all reactions for a single message (channel message, group message, or direct message).

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Channel (`channel`) | text | Channel containing the message |
| Message Timestamp (`timestamp`) | text | Timestamp of the message to get reactions for. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| OK (`ok`) | boolean | - |
| Type (`type`) | string | - |
| Channel (`channel`) | string | - |
| Message (`message`) | object | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.slack.reactions.GetMessageReactions",
  "label": "Get Message Reactions",
  "author": "Appmixer <info@appmixer.com>",
  "icon": "(data URI omitted)",
  "description": "Return a list of all reactions for a single message (channel message, group message, or direct message).",
  "private": false,
  "auth": {
    "service": "appmixer:slack",
    "scope": [
      "reactions:read"
    ]
  },
  "quota": {
    "manager": "appmixer:slack:list",
    "resources": "postMessage",
    "maxWait": 30000,
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "channel": {
            "type": "string"
          },
          "timestamp": {
            "type": "string"
          }
        },
        "required": [
          "channel",
          "timestamp"
        ]
      },
      "inspector": {
        "inputs": {
          "channel": {
            "type": "text",
            "group": "config",
            "label": "Channel",
            "tooltip": "Channel containing the message",
            "index": 1,
            "source": {
              "url": "/component/appmixer/slack/reactions/AddReaction?outPort=out",
              "data": {
                "messages": {
                  "in/isSource": true,
                  "in/channel": "1",
                  "in/timestamp": "1",
                  "in/name": "1"
                }
              }
            }
          },
          "timestamp": {
            "type": "text",
            "label": "Message Timestamp",
            "tooltip": "Timestamp of the message to get reactions for.",
            "index": 2
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "schema": {
        "type": "object",
        "properties": {
          "ok": {
            "type": "boolean",
            "title": "OK",
            "example": true
          },
          "type": {
            "type": "string",
            "title": "Type",
            "example": "message"
          },
          "channel": {
            "type": "string",
            "title": "Channel",
            "example": "C0ABC12345"
          },
          "message": {
            "type": "object",
            "title": "Message",
            "properties": {
              "type": {
                "type": "string",
                "title": "Message.Type",
                "example": "message"
              },
              "text": {
                "type": "string",
                "title": "Message.Text",
                "example": "Great work, team!"
              },
              "user": {
                "type": "string",
                "title": "Message.User",
                "example": "U0ABC12345"
              },
              "ts": {
                "type": "string",
                "title": "Message.Timestamp",
                "example": "1737024600.333444"
              },
              "permalink": {
                "type": "string",
                "title": "Message.Permalink",
                "example": "https://example.slack.com/archives/C0ABC12345/p1737024600333444"
              },
              "reactions": {
                "type": "array",
                "title": "Message.Reactions",
                "example": [
                  {
                    "name": "thumbsup",
                    "count": 2,
                    "users": [
                      "U0ABC12345",
                      "U0DEF67890"
                    ]
                  }
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "title": "Message.Reactions.Name",
                      "example": "thumbsup"
                    },
                    "count": {
                      "type": "number",
                      "title": "Message.Reactions.Count",
                      "example": 2
                    },
                    "users": {
                      "type": "array",
                      "title": "Message.Reactions.Users",
                      "items": {
                        "type": "string",
                        "example": "U0ABC12345"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  ]
}
```
