# React to a feed item

Set the caller's reaction on one item of a record's feed, naming the item by itemKind and itemId from the feed read. A member holds at most one reaction per item, so sending a different emoji moves theirs rather than adding a second. Answers the item's whole reaction line.

Access class: `def:read`.

## Endpoint

`PUT /v1/definitions/{key}/rows/{rowId}/feed/reactions`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| rowId | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "emoji": "string",
    "itemId": "",
    "itemKind": "string"
  },
  "params": {
    ":key": "string",
    ":rowId": ""
  },
  "query": {}
}
```

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "count": 1,
    "emoji": "string",
    "members": [
      1
    ],
    "mine": true
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
