[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-workday\u002Fwork-reports\u002Flist":3,"docs-tabs-workday\u002Fwork-reports\u002Flist":6},{"content":4,"lastmod":5},"## List work reports\n\n`GET \u002Fv1\u002Fworkday\u002Fwork-reports`\n\nReturns an employee's work reports, filtered by period and paginated.\n\nRequires the `timeman` scope. Bitrix24 checks the credential owner’s permissions. READONLY keys can read reports and cannot write them.\n\n## Parameters\n\n| Parameter | Type | Required | Default | Description |\n|----------|-----|:-----:|-----------|----------|\n| `userId` (query) | integer | yes | — | ID of the employee whose reports you need. List: [`GET \u002Fv1\u002Fusers`](\u002Fdocs\u002Fentities\u002Fusers\u002Flist) |\n| `activeOnly` (query) | boolean | no | — | `true` returns submitted reports only |\n| `dateFrom` (query) | string | no | — | Period start in ISO 8601 format with a time zone. Reports whose period overlaps the given one are returned; the boundaries are inclusive |\n| `dateTo` (query) | string | no | — | Period end in the same format |\n| `limit` (query) | integer | no | `50` | How many reports to return, from 1 to 50 |\n| `offset` (query) | integer | no | `0` | How many reports to skip. Cannot be combined with `page` |\n| `page` (query) | integer | no | `1` | Page number, with `limit` reports per page. Cannot be combined with `offset` |\n| `order` (query) | string | no | `{\"id\":\"desc\"}` | Sort order — a JSON object with `asc` or `desc` directions, for example `{\"id\":\"asc\"}` |\n| `select` (query) | string | no | — | Comma-separated report fields. For the list, see [Report fields](\u002Fdocs\u002Fworkday\u002Fwork-reports\u002Ffields) |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fworkday\u002Fwork-reports?userId=101\" \\\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\u002Fwork-reports?userId=101\" \\\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\u002Fwork-reports?userId=101', {\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\nconst { data, meta } = await res.json()\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fworkday\u002Fwork-reports?userId=101', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\nconst { data, meta } = await res.json()\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|----------|\n| `success` | boolean | `true` when the request succeeds |\n| `data` | array | Array of reports. For the fields of each report, see [Report fields](\u002Fdocs\u002Fworkday\u002Fwork-reports\u002Ffields) |\n| `meta.limit` | integer | Page size |\n| `meta.offset` | integer | How many reports were skipped |\n| `meta.hasMore` | boolean | `true` when the page holds `limit` reports and more may follow |\n\n## Response example\n\nThe main report fields are shown. For the full list, see [Report fields](\u002Fdocs\u002Fworkday\u002Fwork-reports\u002Ffields):\n\n```json\n{\n  \"success\": true,\n  \"data\": [\n    {\n      \"id\": 145,\n      \"userId\": 101,\n      \"active\": false,\n      \"reportType\": \"day\",\n      \"reportDate\": \"2026-10-06T18:33:06.000Z\",\n      \"dateFrom\": \"2026-10-06T21:00:00.000Z\",\n      \"dateTo\": \"2026-10-06T21:00:00.000Z\",\n      \"report\": \"Sprint summary\",\n      \"type\": \"REPORT\",\n      \"mark\": \"N\",\n      \"approve\": \"N\"\n    },\n    {\n      \"id\": 143,\n      \"userId\": 101,\n      \"active\": false,\n      \"reportType\": \"day\",\n      \"reportDate\": \"2026-10-06T18:22:40.000Z\",\n      \"dateFrom\": \"2026-10-05T21:00:00.000Z\",\n      \"dateTo\": \"2026-10-05T21:00:00.000Z\",\n      \"report\": \"Weekly report\",\n      \"type\": \"REPORT\",\n      \"mark\": \"N\",\n      \"approve\": \"N\"\n    }\n  ],\n  \"meta\": {\n    \"limit\": 50,\n    \"offset\": 0,\n    \"hasMore\": false\n  }\n}\n```\n\n## Error response example\n\n400 — `userId` is missing:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"INVALID_PARAMS\",\n    \"message\": \"Expected a positive integer\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|----------|\n| 400 | `WORKDAY_REPORT_LIMIT_EXCEEDED` | `limit` is greater than 50 |\n| 400 | `INVALID_PARAMS` | `userId` is missing, `offset` and `page` are both passed, `select` has an unknown field, a date is invalid, or an unknown parameter is passed |\n| 403 | `BITRIX_ACCESS_DENIED` | The credential owner lacks Bitrix24 permissions for this employee's reports |\n| 409 | `TIMEMAN_MODULE_NOT_ENABLED` | Time Management is not available on this portal |\n| 422 | `BITRIX_ERROR` | Bitrix24 refused the operation |\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 lacks the `timeman` scope |\n| 429 | `RATE_LIMITED` | The report read limit or the general request limit was exceeded |\n\nThe full list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n- **`select` keeps only the listed fields in each report.** `id` is always returned, even when it is not in the list.\n- **Only `id` sets the order.** Other fields in `order` apply after `id`, so they do not change the order of the results.\n- **`dateFrom` and `dateTo` must be strictly later than `1970-01-01T00:00:00Z`.** An earlier date, or that exact timestamp, returns `400 INVALID_PARAMS`.\n\n## See also\n\n- [Create a work report](\u002Fdocs\u002Fworkday\u002Fwork-reports\u002Fcreate)\n- [Submit a work report](\u002Fdocs\u002Fworkday\u002Fwork-reports\u002Fsubmit)\n- [Work reports](\u002Fdocs\u002Fworkday\u002Fwork-reports)\n- [Daily reports](\u002Fdocs\u002Fworkday\u002Fdaily-reports)\n- [Workday](\u002Fdocs\u002Fworkday)\n","2026-10-07",{},1795415526851]