[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-chats\u002Fmessages\u002Freactions-list":3,"docs-tabs-chats\u002Fmessages\u002Freactions-list":6},{"content":4,"lastmod":5},"## List reactions to a message\n\n`GET \u002Fv1\u002Fchats\u002Fmessages\u002F:messageId\u002Freactions`\n\nReturns, page by page, who reacted to a message and how.\n\nThe chat is resolved from the message, so no `dialogId` is needed. Reaction codes are listed on the [Add a reaction](\u002Fdocs\u002Fchats\u002Fmessages\u002Freactions-create) page.\n\n## Parameters\n\n| Parameter | Type | Required | Default | Description |\n|----------|-----|:-----:|-----------|---------|\n| `messageId` (path) | number | yes | — | Message ID, a positive integer — from the [chat feed](\u002Fdocs\u002Fchats\u002Fmessages\u002Flist) (`GET \u002Fv1\u002Fchats\u002F:dialogId\u002Fmessages`) or from the response of [sending](\u002Fdocs\u002Fchats\u002Fmessages\u002Fsend) |\n| `reaction` (query) | string | no | — | Only reactions with this code, in camelCase |\n| `lastId` (query) | number | no | — | Cursor: the `id` of the last reaction of the previous page. The boundary itself is not included |\n| `order` (query) | string | no | `desc` | `desc` — newest first, `asc` — oldest first |\n| `limit` (query) | number | no | 50 | Reactions per page, from 1 to 200: a value outside the range is clamped and echoed in `meta.requestedLimit` and `meta.appliedLimit` |\n\nAny other parameter or a repeated parameter is rejected with `400 INVALID_PARAMS`.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -X GET \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fmessages\u002F1001\u002Freactions?limit=20\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl -X GET \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fmessages\u002F1001\u002Freactions?limit=20\" \\\n  -H \"X-Api-Key: YOUR_APP_KEY\" \\\n  -H \"Authorization: Bearer USER_SESSION_TOKEN\"\n```\n\n### JavaScript — personal key\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fmessages\u002F1001\u002Freactions?limit=20', {\n  method: 'GET',\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\n\nconst { data } = await res.json()\nconsole.log('Reactions:', data.reactions.map((r) => `${r.userId}: ${r.reaction}`))\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fmessages\u002F1001\u002Freactions?limit=20', {\n  method: 'GET',\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { data } = await res.json()\nconsole.log('Reactions:', data.reactions.map((r) => `${r.userId}: ${r.reaction}`))\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | Always `true` on success |\n| `data.reactions` | array | Reactions on the page |\n| `data.reactions[].id` | number | Reaction ID — the `lastId` cursor for the next page |\n| `data.reactions[].messageId` | number | Message ID |\n| `data.reactions[].userId` | number | ID of the user who reacted |\n| `data.reactions[].reaction` | string | Reaction code |\n| `data.reactions[].dateCreate` | string | When the reaction was added (ISO 8601) |\n| `data.users` | array | Users who added the reactions on this page: `id`, `name`, `firstName`, `lastName`, `avatar` and other messenger user fields |\n| `data.hasNextPage` | boolean | There are more reactions after this page |\n| `meta.requestedLimit` | number | The `limit` you passed, when it fell outside the 1 to 200 range |\n| `meta.appliedLimit` | number | The `limit` value applied — only when it was clamped to a bound |\n\n## Response example\n\nThe main user fields are shown.\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"users\": [\n      {\n        \"id\": 5,\n        \"active\": true,\n        \"name\": \"Anna Smith\",\n        \"firstName\": \"Anna\",\n        \"lastName\": \"Smith\",\n        \"avatar\": \"\",\n        \"bot\": false,\n        \"type\": \"user\"\n      }\n    ],\n    \"reactions\": [\n      {\n        \"id\": 13,\n        \"messageId\": 1001,\n        \"userId\": 5,\n        \"reaction\": \"fire\",\n        \"dateCreate\": \"2026-10-06T09:18:54+00:00\"\n      },\n      {\n        \"id\": 9,\n        \"messageId\": 1001,\n        \"userId\": 5,\n        \"reaction\": \"like\",\n        \"dateCreate\": \"2026-10-06T09:18:53+00:00\"\n      }\n    ],\n    \"hasNextPage\": false\n  }\n}\n```\n\n## Error response example\n\n422 — there is no such message:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"BITRIX_ERROR\",\n    \"message\": \"MESSAGE_NOT_FOUND\",\n    \"b24Code\": \"MESSAGE_NOT_FOUND\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 400 | `INVALID_PARAMS` | `messageId` is not a positive integer, a parameter other than `reaction`, `lastId`, `order`, `limit`, a repeated parameter, a reaction code not in camelCase or an invalid value. Checked before any call to Bitrix24 |\n| 404 | `ENTITY_NOT_FOUND` | Bitrix24 reported \"not found\"; the portal code is in `error.b24Code` |\n| 422 | `BITRIX_ERROR` | Bitrix24 returned an error; the code is in `error.b24Code`, for example `MESSAGE_NOT_FOUND` — there is no such message |\n| 403 | `SCOPE_DENIED` | The API key does not have the `im` scope |\n| 403 | `WRITE_BLOCKED_READONLY_KEY` | Reading in `READONLY` mode is not available to an application key, a management key or a key whose owner type is unconfirmed |\n| 401 | `TOKEN_MISSING` | The API key has no Bitrix24 tokens configured |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n**The reactions list may make you a member.** When the message's chat allows auto-join, reading the list may add the current user as a member — as [loading a chat](\u002Fdocs\u002Fchats\u002Fmessages\u002Fload) does. An ordinary employee personal key in `READONLY` mode may read the list. This read does not itself mark messages read.\n\n**Counters are in the feed.** The reaction summary per message on a page — `reactionCounters`, `ownReactions` — comes in the `reactions` collection of the [feed in v2 mode](\u002Fdocs\u002Fchats\u002Fmessages\u002Flist). This endpoint is for finding out who exactly reacted.\n\n## See also\n\n- [Add a reaction](\u002Fdocs\u002Fchats\u002Fmessages\u002Freactions-create)\n- [Remove a reaction](\u002Fdocs\u002Fchats\u002Fmessages\u002Freactions-delete)\n- [Read messages](\u002Fdocs\u002Fchats\u002Fmessages\u002Flist)\n- [Messages](\u002Fdocs\u002Fchats\u002Fmessages)\n","2026-10-06",{},1795415439002]