---
title: "Send reaction message"
method: POST
path: "/messages/reaction"
tags: ["Messages"]
---

# Send reaction message

`POST /messages/reaction`

## Request

- Base URL: `https://messenger-public-api.cogfy.com`
- URL: `https://messenger-public-api.cogfy.com/messages/reaction`
- Auth: API key in header `api-key`
- TypeScript: <https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api/docs/messages/reaction/post.ts> (a function with typed inputs; its response is checked against the schema)

Reacts to a message previously exchanged in the conversation. `reaction.message_id` is the WhatsApp id of the message being reacted to, and must belong to the workspace. Send an empty `emoji` to remove a reaction.

Requires an open service window: the recipient must have messaged the business in the last 24 hours. Use `POST /messages/template` to reach recipients outside that window.

## Request body

- object
  - `from` string, required: WhatsApp id of the sender phone number
  - `to` string, required: Recipient phone number, digits only, including country code
  - `reaction` object: The reaction to send
    - `message_id` string: WhatsApp id of the message being reacted to
    - `emoji` string: Emoji of the reaction. Send an empty string to remove it

## Response `200`

Reaction sent successfully

- object
  - `id` string, uuid, required: Id of the created message

## Other responses

- `400`: Bad request, invalid input data or missing `reaction.message_id`
- `401`: Unauthorized
- `404`: Reacted message or sender phone number not found

## Changes

- **2026-08-07** `30bd33ee45c9`: 3 info
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `404`
- **2026-07-28** `8ccfb9a461e2`: 2 breaking, 5 info
  - the `from` request property's minLength was increased from `0` to `1`
  - the `to` request property's minLength was increased from `0` to `1`
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - …3 more

[Operation history](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api/changes/messages/reaction/post.md)

---

[API](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api.md) - [All operations](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api/revisions/30bd33ee45c9?raw)
