[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-tasks\u002Fstages-can-move":3,"docs-tabs-tasks\u002Fstages-can-move":6},{"content":4,"lastmod":5},"# Read the kanban sorting permission\n\n`GET \u002Fv1\u002Ftasks\u002Fstages\u002F:entityId\u002Fcan-move`\n\nReports whether the key's user can move tasks between the stages of a workgroup kanban. Use it to decide whether to enable card drag-and-drop before calling the move method.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|----------|\n| `entityId` (path) | number | yes | Workgroup ID, or `0` for the key owner's \"My Plan\". Group list: [`GET \u002Fv1\u002Fworkgroups`](\u002Fdocs\u002Fentities\u002Fworkgroups\u002Flist) |\n\nThe method takes no query parameters: any of them is rejected with `400 INVALID_PARAMS`.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Ftasks\u002Fstages\u002F155\u002Fcan-move\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Ftasks\u002Fstages\u002F155\u002Fcan-move\" \\\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\u002Ftasks\u002Fstages\u002F155\u002Fcan-move', {\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\n\nconst { success, data } = await res.json()\nconsole.log(data.canMove)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Ftasks\u002Fstages\u002F155\u002Fcan-move', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { success, data } = await res.json()\nconsole.log(data.canMove)\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|----------|\n| `success` | boolean | Always `true` on success |\n| `data` | object | Check result |\n| `data.canMove` | boolean | `true` — the key's user can move tasks in the kanban, `false` — cannot |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"canMove\": true\n  }\n}\n```\n\n## Error response example\n\n400 — `entityId` is not a non-negative integer, or a query parameter was passed:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"INVALID_PARAMS\",\n    \"message\": \"entityId must be non-negative; query parameters are not supported\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|----------|\n| 400 | `INVALID_PARAMS` | `entityId` is not a non-negative integer, or a query parameter was passed |\n| 401 | `MISSING_API_KEY` | The `X-Api-Key` header is missing |\n| 401 | `TOKEN_MISSING` | The key has no valid Bitrix24 token |\n| 403 | `SCOPE_DENIED` | The key has neither the `task` nor the `tasks` scope |\n| 422 | `BITRIX_ERROR` | Bitrix24 rejected the request, details in `message` |\n| 502 | `BITRIX_ERROR` | Bitrix24 returned a response with an unexpected structure: `Invalid can-move response` |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n- **Permission for the whole board, not for a task.** The response says whether tasks can be moved in the group kanban at all. It does not check permissions on a specific task: moving someone else's task can still be refused.\n- **For \"My Plan\" the response is always `true`.** With `entityId: 0` the method does not call Bitrix24.\n- **A nonexistent group does not cause an error.** For a group that does not exist on the Bitrix24 account, the response is `200` with `canMove: false`.\n- **A read-only key works.** The method changes nothing.\n\n## See also\n\n- [Tasks: kanban, \"My Plan\" and day plan](\u002Fdocs\u002Ftasks)\n- [Move a task with ordering](\u002Fdocs\u002Ftasks\u002Fmove-stage)\n- [Task kanban stages](\u002Fdocs\u002Ftask-stages)\n- [Workgroups](\u002Fdocs\u002Fentities\u002Fworkgroups)\n","2026-10-14",{},1795415511213]