# リアクションしたユーザー一覧

`GET /api/reaction/{targetType}/{targetId}/users`

URL: https://repsona.com/ja/api/get-reaction-targettype-targetid-users

指定した絵文字でリアクションしたユーザーを返します。

## パラメーター

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `targetType` | path | project \| taskComment \| noteComment \| user \| activity \| introduction | 必須 | リアクションの対象の種類です。 |
| `targetId` | path | integer | 必須 | 対象の ID です。`targetType` に応じて、プロジェクトやコメント、ユーザーなどの ID を渡します。 |
| `text` | query | string | 必須 | ユーザーを調べるリアクションの文字列 (絵文字など) |

## リクエスト

```sh
curl -X GET "https://<space>.repsona.com/api/reaction/{targetType}/{targetId}/users" \
  -H "Authorization: Bearer $REPSONA_API_KEY"
```

## レスポンス

- 200: Reacting users (deduped)
- 401: Authentication is required
- 403: Not a project member
- 404: Target not found

## レスポンスの例

```json
{
  "users": [
    {
      "id": 1101,
      "name": "aiko",
      "fullName": "Aiko Tanaka",
      "avatarUrl": null,
      "color": null
    }
  ]
}
```
