[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-chats\u002Fservice\u002Fpromotions":3,"docs-tabs-chats\u002Fservice\u002Fpromotions":6},{"content":4,"lastmod":5},"## Promo hints\n\n`GET \u002Fv1\u002Fchats\u002Fpromotions`\n\nMessenger promo hints active for the user — hints about new features that the Bitrix24 interface shows only once. The list covers all device types.\n\n## Parameters\n\nThere are no parameters. Any query parameter, including `type`, is rejected with `400 INVALID_PARAMS`.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fpromotions\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fpromotions\" \\\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\u002Fpromotions', {\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\n\nconst { data: promotions } = await res.json()\nconsole.log('Active hints:', promotions.length)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fpromotions', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { data: promotions } = await res.json()\nconsole.log(promotions.map((p) => p.id))\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | Always `true` on success |\n| `data[]` | object[] | Active hints |\n| `data[].id` | string | Hint ID, for example `im:collab-helpdesk-sidebar:30102024:all`. The last part is the device type |\n| `data[].params.chatId` | number \\| null | The chat the hint belongs to. `null` — the whole messenger |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": [\n    { \"id\": \"im:collab-helpdesk-sidebar:30102024:all\", \"params\": { \"chatId\": null } },\n    { \"id\": \"im:download-several-files:22112024:all\", \"params\": { \"chatId\": null } }\n  ]\n}\n```\n\n## Error response example\n\n400 — `type` was passed:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"INVALID_PARAMS\",\n    \"message\": \"Query parameter `type` is not accepted by GET \u002Fv1\u002Fchats\u002Fpromotions: Bitrix24 reads it only from a form body, so the endpoint answers the promotions of every device type.\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 400 | `INVALID_PARAMS` | A query parameter was passed — the operation accepts none |\n| 401 | `TOKEN_MISSING` | The API key has no Bitrix24 tokens configured |\n| 403 | `SCOPE_DENIED` | The API key does not have the `im` scope |\n| 422 | `BITRIX_ERROR` | Bitrix24 returned an error. The Bitrix24 code is in `error.b24Code` |\n| 502 | `BITRIX_UNAVAILABLE` | Bitrix24 is unavailable or returned a server error |\n\nThe full list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [Update state](\u002Fdocs\u002Fchats\u002Fservice\u002Fstate)\n- [Service methods](\u002Fdocs\u002Fchats\u002Fservice)\n","2026-10-07",{},1794739551997]