# React to message

> Send an iMessage reaction (tapback) — ❤️ 👍 👎 😂 ‼️ ❓ — to a message in a contact's conversation.

Source: https://docs.mycrmsim.com/docs/messages/react-to-message

```http
POST https://backend.mysmsgateway.app/api/v1/ext/messages/{id}/reactions
```

- Category: myCRMSIM Messages / Messages
- Auth: Bearer access token
- Scope: `messages.write`
- Limits: 30 messages / 15 min per workspace (counts with Send message)

Reacts to a message the way the reaction bar on the app.mycrmsim.com conversation does. `{id}` is the message's id: the `id` of a row from **List messages** or **List conversation messages**, or the `message_id` from **Send message**. Messages you sent and messages the contact sent can both be reacted to.

**How it is sent:** a reaction is an iMessage whose text is one line, `❤️ Loved: “<the message reacted to>”`. The quote is the start of the target's text — up to 60 characters, spaces and line breaks collapsed, with "…" when it is cut. A Mac in **Advanced Mode** turns that line into a real tapback on the quoted message; the contact never sees the text. It goes to the message's contact through the same pipeline as **Send message**, so DND, credits and the send rate limit apply as for any message, and the response is the same.

**Rules** (the same as the dashboard's):
- The message must be an iMessage with text, in a one-to-one conversation. WhatsApp, RCS and SMS messages, attachment-only messages, group messages and reactions themselves are a 400.
- The workspace needs a Mac with Advanced Mode on, the same rule as the reaction bar on the dashboard; without one the request is a 400 `NO_ADVANCED_MODE_MAC`.

The Mac finds the target by its quoted text, so when the conversation holds two messages that start the same way, the tapback lands on the one Messages picks.

In message reads a reaction is the `reaction` field — `{ kind, emoji, snippet }` — on reactions you send and on the contact's, which also carry custom emoji (`kind: "emoji"`).

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | number | yes | The id of the message to react to — a List messages or conversation message `id`, or the `message_id` from Send message. Example: `84214` |
| `workspace_id` | body | number | yes | The workspace the message belongs to. Example: `7` |
| `reaction` | body | enum | yes | `love` ❤️, `like` 👍, `dislike` 👎, `laugh` 😂, `emphasize` ‼️ or `question` ❓. One of: `love`, `like`, `dislike`, `laugh`, `emphasize`, `question`. Example: `love` |

## Request body

```json
{
  "workspace_id": 7,
  "reaction": "love"
}
```

## Response fields (send_result)

| Field | Type | Description |
| --- | --- | --- |
| `id` | number | The reaction message's id. Use it with Get message status. |
| `status` | string | Delivery status immediately after the send is accepted — typically "webhook_sent", or "failed". |
| `message_id` | string | String form of the reaction message's id. |
| `channel` | string | Always "imessage". |
| `reaction` | string | The reaction sent. |
| `reacted_to_message_id` | string | The id of the message reacted to. |

## Response 200

OK — reaction queued for delivery

```json
{
  "success": true,
  "message": "Message queued for delivery.",
  "data": {
    "id": 84230,
    "status": "webhook_sent",
    "message_id": "84230",
    "conversation_id": 512,
    "channel": "imessage",
    "queued_at": "2026-10-27T09:16:00.000Z",
    "reaction": "love",
    "reacted_to_message_id": "84214"
  }
}
```

## Response 400

Validation — unknown reaction

```json
{
  "success": false,
  "message": "reaction must be one of: love, like, dislike, laugh, emphasize, question"
}
```

## Response 400

Validation — no workspace_id

```json
{
  "success": false,
  "message": "workspace_id is required"
}
```

## Response 400

The message is not an iMessage

```json
{
  "success": false,
  "message": "Reactions are iMessage only: this message was not sent over iMessage."
}
```

## Response 400

The message has no text (attachment only)

```json
{
  "success": false,
  "message": "This message has no text to react to."
}
```

## Response 400

The message is itself a reaction

```json
{
  "success": false,
  "message": "A reaction can't be reacted to."
}
```

## Response 400

The message is in a group conversation

```json
{
  "success": false,
  "message": "Reactions to group messages are not supported."
}
```

## Response 400

No Mac with Advanced Mode on the workspace

```json
{
  "success": false,
  "code": "NO_ADVANCED_MODE_MAC",
  "message": "No Mac with Advanced Mode is connected to this workspace. Reactions need a Mac with Advanced Mode on."
}
```

## Response 401

Missing or invalid token

```json
{
  "success": false,
  "message": "Invalid or expired access token."
}
```

## Response 403

Missing scope

```json
{
  "success": false,
  "message": "Missing scope(s): messages.write. This integration was granted: …"
}
```

## Response 404

Message not found in this workspace (or not accessible to this token)

```json
{
  "success": false,
  "message": "Message not found"
}
```

## Response 409

The contact has outbound Do-Not-Disturb active

```json
{
  "success": false,
  "message": "Cannot send message as DND is active"
}
```

## Response 429

Rate limit exceeded (30 messages / 15 min per workspace)

```json
{
  "message": "Too many queued messages for this workspace",
  "error": "RateLimitExceeded"
}
```

## Response 502

The reaction could not be delivered to the messaging provider — retryable

```json
{
  "success": false,
  "message": "Failed to forward message to the gateway."
}
```
