---
title: "Adds an emoji reaction to a specific message in a Discord channel."
method: POST
path: "/reactToMessage"
---

# Adds an emoji reaction to a specific message in a Discord channel.

`POST /reactToMessage`

This function allows adding a reaction emoji to a specified message within a Discord channel. It supports both Unicode emojis and custom emoji IDs, providing flexibility in reaction options. The function returns a Promise that resolves when the reaction is successfully added.

## Request body

- object
  - `body` object — Body of the reactToMessage sls call
    - `arguments` unknown[], required
      - unknown
    - `auth` object — Authentication object
      - `strategy` 'apikey' — Authentication strategy
      - `variables` unknown[] — Variables for the authentication strategy
        - unknown
    - `packageName` string — @microfox/discord

## Response `200`

Reaction successfully added

- object
  - `success` boolean — Indicates if the reaction was successfully added

## Other responses

- `400` — Bad request - invalid parameters
- `404` — Not found - channel or message does not exist
- `429` — Too many requests - rate limit exceeded
- `500` — Internal server error

---

[API](https://skmtc.net/microfox-ai/apis/microfox-discord-sdk-api.md) · [All operations](https://skmtc.net/microfox-ai/apis/microfox-discord-sdk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/microfox-ai/microfox-discord-sdk-api/versions/7cb5b64ae924/schema)
