[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-workday\u002Ftime-control-settings-list":3,"docs-tabs-workday\u002Ftime-control-settings-list":6},{"content":4,"lastmod":5},"## Get time-control settings\n\n`GET \u002Fv1\u002Fworkday\u002Ftime-control\u002Fsettings`\n\nReturns the time-control settings shared by all employees of the Bitrix24 account. Call it before updating the settings to read the current values.\n\nRequires the `timeman` scope. Bitrix24 checks the credential owner's permissions: for a personal key, that is the key owner; for an app key, the user whose session token is passed in `Authorization`. A Bitrix24 account administrator can read the settings; an employee without administrator permissions gets `403 BITRIX_ACCESS_DENIED`. The Bitrix24 application behind an app key only needs the `timeman` permission. A `READONLY` key can read the settings. Updating the settings is described on the [Update time-control settings](\u002Fdocs\u002Fworkday\u002Ftime-control-settings-update) page.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fworkday\u002Ftime-control\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\u002Fworkday\u002Ftime-control\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\u002Fworkday\u002Ftime-control\u002Fsettings', {\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\nconst { data } = await res.json()\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fworkday\u002Ftime-control\u002Fsettings', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\nconst { data } = await res.json()\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|----------|\n| `success` | boolean | `true` on a successful request |\n| `data` | object | Time-control settings shared by the entire Bitrix24 account |\n| `data.active` | boolean | Whether time control is enabled. When `false`, an employee without subordinates cannot access monthly reports on the [Get the monthly absence report](\u002Fdocs\u002Fworkday\u002Ftime-control-reports) page, including their own |\n| `data.minimumIdleForReport` | integer | Minimum absence, in minutes, for which an employee is asked for a report. At least `1` |\n| `data.registerOffline` | boolean | Whether to record when an employee is offline |\n| `data.registerIdle` | boolean | Whether to record when an employee is away |\n| `data.registerDesktop` | boolean | Whether to record work in the Bitrix24 desktop app |\n| `data.reportRequestType` | string | Who is asked for an absence report: `all` — all employees, `user` — employees listed in `reportRequestUsers`, `none` — nobody |\n| `data.reportRequestUsers` | integer[] \\| string[] | IDs of employees who are asked for a report. With `reportRequestType: \"user\"` — a list of IDs. Elements arrive as numbers or strings, depending on how the setting was saved: compare them after converting to a number. List: [List employees](\u002Fdocs\u002Fentities\u002Fusers\u002Flist) |\n| `data.reportSimpleType` | string | Who has access to the simple report — their own monthly time-control report: `all` — all employees, `user` — employees listed in `reportSimpleUsers`. `none` never arrives in the response: that value is stored as `user` with an empty `reportSimpleUsers` |\n| `data.reportSimpleUsers` | integer[] \\| string[] | IDs of employees with the simple report. With `reportSimpleType: \"user\"` — a list of IDs; an empty array means the simple report is not assigned to any employee. With `all` — an empty array. Elements are numbers or strings, as in `reportRequestUsers`. List: [List employees](\u002Fdocs\u002Fentities\u002Fusers\u002Flist) |\n| `data.reportFullType` | string | Who has access to the full report — the monthly reports of all employees: `all` — all employees, `user` — employees listed in `reportFullUsers`. `none` never arrives in the response: that value is stored as `user` with an empty `reportFullUsers` |\n| `data.reportFullUsers` | integer[] \\| string[] | IDs of employees with the full report. With `reportFullType: \"user\"` — a list of IDs; an empty array means the full report is not assigned to any employee. With `all` — an empty array. Elements are numbers or strings, as in `reportRequestUsers`. List: [List employees](\u002Fdocs\u002Fentities\u002Fusers\u002Flist) |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"active\": false,\n    \"minimumIdleForReport\": 15,\n    \"registerOffline\": true,\n    \"registerIdle\": true,\n    \"registerDesktop\": true,\n    \"reportRequestType\": \"user\",\n    \"reportRequestUsers\": [\"1\"],\n    \"reportSimpleType\": \"all\",\n    \"reportSimpleUsers\": [],\n    \"reportFullType\": \"all\",\n    \"reportFullUsers\": []\n  }\n}\n```\n\n## Error response example\n\n403 — the credential owner is not a Bitrix24 account administrator:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"BITRIX_ACCESS_DENIED\",\n    \"message\": \"You don't have access to user this method\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|----------|\n| 403 | `BITRIX_ACCESS_DENIED` | The credential owner is not a portal administrator |\n| 409 | `TIMEMAN_MODULE_NOT_ENABLED` | Time Management is not available on this portal: the Time Management tool is switched off in the portal settings, or the module is not included in the plan |\n| 502 | `BITRIX_UNAVAILABLE` | Bitrix24 is unavailable or returned a response of an unexpected shape |\n| 401 | `MISSING_API_KEY` | The `X-Api-Key` header was not passed |\n| 401 | `TOKEN_MISSING` | An app key was sent without a session token in `Authorization: Bearer` |\n| 401 | `INVALID_SESSION` | The session token is invalid or has expired |\n| 403 | `SCOPE_DENIED` | The key does not have the `timeman` scope |\n| 429 | `RATE_LIMITED` | The general request limit was exceeded; the retry delay is in the `Retry-After` header |\n\nThe full list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [Update time-control settings](\u002Fdocs\u002Fworkday\u002Ftime-control-settings-update)\n- [Time-control settings](\u002Fdocs\u002Fworkday\u002Ftime-control-settings)\n- [Get the monthly absence report](\u002Fdocs\u002Fworkday\u002Ftime-control-reports)\n- [Explain an absence](\u002Fdocs\u002Fworkday\u002Ftime-control-explain)\n- [Workday](\u002Fdocs\u002Fworkday)\n","2026-10-12",{},1795415525342]