[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-notifications\u002Fsettings\u002Flist":3,"docs-tabs-notifications\u002Fsettings\u002Flist":6},{"content":4,"lastmod":5},"## Get notification settings\n\n`GET \u002Fv1\u002Fnotifications\u002Fsettings`\n\nReturns the channels through which an employee receives notifications about events in each module of the Bitrix24 account.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|----------|\n| `userId` (query) | number | no | ID of the employee whose settings to read — a positive integer. List: [`GET \u002Fv1\u002Fusers`](\u002Fdocs\u002Fentities\u002Fusers\u002Flist). If omitted, the settings of the employee on whose behalf the call is made are returned. Another employee's settings are available only to a Bitrix24 administrator |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnotifications\u002Fsettings\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnotifications\u002Fsettings\" \\\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\u002Fnotifications\u002Fsettings', {\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\n\nconst { data } = await res.json()\nconst im = data.find((m) => m.id === 'im')\nconsole.log(im?.notices.map((n) => `${n.id}: site=${n.site} mail=${n.mail} push=${n.push}`))\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnotifications\u002Fsettings', {\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('Modules:', data.length)\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|----------|\n| `success` | boolean | Always `true` on success |\n| `data` | array | Modules of the Bitrix24 account with configurable notifications |\n| `data[].id` | string | Module identifier. Matches `notifyModule` of a notification in the [feed](\u002Fdocs\u002Fnotifications\u002Flist). The same value is passed in the `module` field when [changing a setting](\u002Fdocs\u002Fnotifications\u002Fsettings\u002Fupdate) and in [notification group conditions](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fconditions-create) |\n| `data[].label` | string | Module name |\n| `data[].notices` | array | Module events |\n| `data[].notices[].id` | string | Event identifier. Matches `notifyEvent` of a notification in the feed |\n| `data[].notices[].label` | string | Event name |\n| `data[].notices[].site` | boolean | The \"Web version and desktop app\" channel. `true` — notifications about the event arrive through this channel |\n| `data[].notices[].mail` | boolean | The \"Email\" channel |\n| `data[].notices[].push` | boolean | The \"Mobile devices (push notifications)\" channel |\n| `data[].notices[].disabled` | array | Event channels that cannot be changed: `site`, `mail`, `push`. The value of such a channel is set by the Bitrix24 account: `true` or `false` |\n\n## Response example\n\nTwo modules are shown, each with some of its events. The set of modules and events depends on the Bitrix24 account.\n\nHTTP 200:\n\n```json\n{\n  \"success\": true,\n  \"data\": [\n    {\n      \"id\": \"im\",\n      \"label\": \"Chats and calls\",\n      \"notices\": [\n        {\n          \"id\": \"message\",\n          \"label\": \"Direct chat messages\",\n          \"site\": true,\n          \"mail\": false,\n          \"push\": false,\n          \"disabled\": [\"site\"]\n        },\n        {\n          \"id\": \"like\",\n          \"label\": \"Reactions to your messages\",\n          \"site\": false,\n          \"mail\": false,\n          \"push\": false,\n          \"disabled\": [\"push\"]\n        }\n      ]\n    },\n    {\n      \"id\": \"bizproc\",\n      \"label\": \"Workflows\",\n      \"notices\": [\n        {\n          \"id\": \"activity\",\n          \"label\": \"Workflow notifications\",\n          \"site\": true,\n          \"mail\": false,\n          \"push\": false,\n          \"disabled\": []\n        },\n        {\n          \"id\": \"wi_locked\",\n          \"label\": \"Workflow aborted\",\n          \"site\": true,\n          \"mail\": false,\n          \"push\": false,\n          \"disabled\": [\"push\"]\n        }\n      ]\n    }\n  ]\n}\n```\n\n## Error response example\n\n400 — `userId` is not a positive integer:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"INVALID_PARAMS\",\n    \"message\": \"The query parameter `userId` must be a positive integer.\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|----------|\n| 400 | `INVALID_PARAMS` | `userId` is not a positive integer. Checked before the Bitrix24 call |\n| 400 | `INVALID_PARAMS` | `userId` was passed more than once or with brackets, for example `userId[]=5` |\n| 400 | `INVALID_PARAMS` | A query parameter other than `userId` was passed. The accepted parameters are listed in `message` |\n| 401 | `TOKEN_MISSING` | The key has no configured tokens |\n| 403 | `SCOPE_DENIED` | The key lacks the `im` scope |\n| 422 | `BITRIX_ERROR` | `userId` points to another employee, and the employee on whose behalf the call is made has no Bitrix24 administrator rights. The portal code `SETTINGS_ACCESS_DENIED` is in the `error.b24Code` field |\n| 502 | `ME_ALIAS_RESOLUTION_FAILED` | `userId` was not passed, and the employee on whose behalf the call is made could not be determined. The settings were not requested |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n- For an administrator, a non-existent `userId` does not cause an error: the response contains the default settings. A successful response does not confirm that an employee with this ID exists in the Bitrix24 account. To check the employee, use [`GET \u002Fv1\u002Fusers\u002F:id`](\u002Fdocs\u002Fentities\u002Fusers\u002Fget).\n\n## See also\n\n- [Change a notification setting](\u002Fdocs\u002Fnotifications\u002Fsettings\u002Fupdate)\n- [Switch the notification settings mode](\u002Fdocs\u002Fnotifications\u002Fsettings\u002Fscheme)\n- [Notification settings](\u002Fdocs\u002Fnotifications\u002Fsettings)\n- [Notification groups](\u002Fdocs\u002Fnotifications\u002Fgroups)\n- [Notification feed](\u002Fdocs\u002Fnotifications\u002Flist)\n","2026-10-09",{},1795415486831]