[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-notifications\u002Fgroups\u002Flist":3,"docs-tabs-notifications\u002Fgroups\u002Flist":6},{"content":4,"lastmod":5},"## List notification groups\n\n`GET \u002Fv1\u002Fnotifications\u002Fgroups`\n\nReturns the user's notification groups: system ones and the ones the user created. Call it before changing a group to learn its identifier and current conditions.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnotifications\u002Fgroups\" \\\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\u002Fgroups\" \\\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\u002Fgroups', {\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\n\nconst { data } = await res.json()\nconst ownGroups = data.items.filter((group) => group.isEditable)\nconsole.log('Own groups:', ownGroups.length)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnotifications\u002Fgroups', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { data } = await res.json()\nconst ownGroups = data.items.filter((group) => group.isEditable)\nconsole.log('Own groups:', ownGroups.length)\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | Always `true` on success |\n| `data.items` | array | Notification groups: system ones first, followed by the ones the user created |\n| `data.items[].tag` | string | Group identifier. For a system group it is a tag: `confirm`, `mention` or `admin`. For a user group it is a numeric identifier as a string, for example `\"12\"`. It is passed as a number in the `:groupId` path parameter of [Rename a notification group](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fupdate), [Delete a notification group](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fdelete), [Add a condition to a notification group](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fconditions-create) and [Remove a condition from a notification group](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fconditions-delete) |\n| `data.items[].title` | string | Group name |\n| `data.items[].isEditable` | boolean | `false` for a system group — it cannot be renamed or deleted, and its conditions cannot be changed. `true` for a user group |\n| `data.items[].conditions` | object | Conditions by which the group selects notifications |\n| `data.items[].conditions.notifyType` | number | Present only on the `confirm` group. The value `1` means the group selects confirmation requests — notifications with reply buttons |\n| `data.items[].conditions.moduleConditions` | object | Conditions by module. The key is the module identifier as is, for example `tasks` or `vendor.my_module`. The `all` key is a condition without a module |\n| `data.items[].conditions.moduleConditions.\u003Cmodule>.isWhole` | boolean | `true` — the group selects all events of the module, and the `events` list does not restrict the selection. `false` — only the events listed in `events` |\n| `data.items[].conditions.moduleConditions.\u003Cmodule>.events` | array | Identifiers of the module events the group selects |\n\n## Response example\n\nHTTP 200:\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"items\": [\n      {\n        \"tag\": \"confirm\",\n        \"title\": \"Require action\",\n        \"conditions\": { \"notifyType\": 1 },\n        \"isEditable\": false\n      },\n      {\n        \"tag\": \"mention\",\n        \"title\": \"I was mentioned\",\n        \"conditions\": {\n          \"moduleConditions\": {\n            \"all\": { \"isWhole\": false, \"events\": [\"mention\", \"mention_comment\"] }\n          }\n        },\n        \"isEditable\": false\n      },\n      {\n        \"tag\": \"12\",\n        \"title\": \"Tasks and calendar\",\n        \"conditions\": {\n          \"moduleConditions\": {\n            \"tasks\": { \"isWhole\": false, \"events\": [\"comment\"] },\n            \"calendar\": { \"isWhole\": false, \"events\": [\"invite\"] }\n          }\n        },\n        \"isEditable\": true\n      }\n    ]\n  }\n}\n```\n\n## Error response example\n\n400 — a query parameter was passed:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"INVALID_PARAMS\",\n    \"message\": \"Query parameter `limit` is not accepted by GET \u002Fv1\u002Fnotifications\u002Fgroups. It takes no query parameters.\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|----------|\n| 400 | `INVALID_PARAMS` | A query parameter was passed — the operation does not accept query parameters. The parameter name is in `message` |\n| 422 | `BITRIX_ERROR` | Bitrix24 rejected the request; the portal code is in the `error.b24Code` field |\n| 403 | `SCOPE_DENIED` | The key lacks the `im` scope |\n| 401 | `TOKEN_MISSING` | The key has no configured tokens |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n- Groups belong to the user on whose behalf the call is made. With a personal key, this is the key owner; with an OAuth application key, it is the session user from the `Authorization: Bearer` header. All group operations and [group conditions](\u002Fdocs\u002Fnotifications\u002Fgroups) work with the groups of the same user.\n\n## See also\n\n- [Create a notification group](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fcreate)\n- [Rename a notification group](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fupdate)\n- [Delete a notification group](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fdelete)\n- [Add a condition to a notification group](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fconditions-create)\n- [Notification groups](\u002Fdocs\u002Fnotifications\u002Fgroups)\n","2026-10-09",{},1795415485318]