[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Factivities\u002Fbindings\u002Flist":3,"docs-tabs-entities\u002Factivities\u002Fbindings\u002Flist":6},{"content":4,"lastmod":5},"\n## List bindings\n\n`GET \u002Fv1\u002Factivities\u002F:activityId\u002Fbindings`\n\nReturns the CRM entities the activity is bound to. The list may be empty: if Bitrix24 returns an empty array or a result that is not an array, `data` is `[]`.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|---------|\n| `activityId` (path) | number | yes | Activity ID. List: `GET \u002Fv1\u002Factivities` |\n\nThe generic `filter` parameter is not applied by this endpoint. By default, the API preserves the previous HTTP 200 response and data, adds `Warning: 299 - \"filter is not supported on this endpoint and was ignored\"`, and records unsupported-filter use in the server log.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Factivities\u002F3631\u002Fbindings \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Factivities\u002F3631\u002Fbindings \\\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\u002Factivities\u002F3631\u002Fbindings', {\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\n\nconst { data } = await res.json()\ndata.forEach(b => console.log(`${b.entityTypeId}:${b.entityId}`))\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Factivities\u002F3631\u002Fbindings', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { data } = await res.json()\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | Always `true` on success |\n| `data` | array | Array of bindings that may be empty |\n| `data[].entityTypeId` | number | Numeric CRM entity-type code:\u003Cbr>1 — lead\u003Cbr>2 — deal\u003Cbr>3 — contact\u003Cbr>4 — company\u003Cbr>7 — quote\u003Cbr>31 — invoice\u003Cbr>≥128 — smart process; find its code in [`GET \u002Fv1\u002Fsmart-processes`](\u002Fdocs\u002Fentities\u002Fsmart-processes\u002Flist) |\n| `data[].entityId` | number | ID of the bound entity |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": [\n    { \"entityTypeId\": 2, \"entityId\": 4219 },\n    { \"entityTypeId\": 3, \"entityId\": 9 }\n  ]\n}\n```\n\n## Error response example\n\n404 — the activity does not exist:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"ENTITY_NOT_FOUND\",\n    \"message\": \"Element not found\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 200 | `Warning: 299` | The filter is ignored by default; previous data is preserved and the warning is sent in the `Warning` header. |\n| 400 (strict mode only) | `UNSUPPORTED_FILTER` | The server mode is disabled by default; until it is enabled, the endpoint preserves HTTP 200 and the previous data. |\n| 400 | `INVALID_PARAMS` | `activityId` is not a positive integer |\n| 404 | `ENTITY_NOT_FOUND` | No activity exists for the given `activityId` |\n| 422 | `BITRIX_ERROR` | Bitrix24 returned a business error that was not mapped to another API error code |\n| 403 | `SCOPE_DENIED` | The key lacks the `crm` scope |\n| 401 | `TOKEN_MISSING` | The key has no configured tokens |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [Bind](\u002Fdocs\u002Fentities\u002Factivities\u002Fbindings\u002Fbind)\n- [Move a binding](\u002Fdocs\u002Fentities\u002Factivities\u002Fbindings\u002Fmove)\n- [Activities](\u002Fdocs\u002Fentities\u002Factivities)\n","2026-10-23",{},1794739303206]