# Add reaction to message

`POST /reaction.add`

## Description

Add a reaction to a message in a chat.

**Access:** Organization only.

**Required scope:** `chat:send_message` or `chat:write`

---

**OpenAPI Spec:** [chat.json](https://developer.ro.am/chat.json)

## Authentication

```
Authorization: Bearer YOUR_API_KEY
```

## Request Body

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `chat` | TaggedUUID | Yes | The chat containing the message to react to. |
| `timestamp` | integer | Yes | Timestamp of the message to react to. |
| `name` | string | Yes | Name of the reaction to add (e.g. "100"). |

**TaggedUUID**:

A UUID prefixed by a tag identifying the specific type of object
### Example Request

```json
{
  "chat": "G-7be17589-4b9a-4524-bddb-ce60abea08e6",
  "timestamp": 1755723832718034,
  "name": "100"
}
```

## Responses

### 200 - Reaction successfully added

### 400 - Bad request.

### 401 - Presented invalid authentication credentials.

### 405 - An unsupported method was requested.

### 500 - An internal error occured.

---

*Machine-readable API documentation.*
*Full documentation: https://developer.ro.am/docs/chat-api/reaction-add*
