[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-calls\u002Flog\u002Flist":3,"docs-tabs-calls\u002Flog\u002Flist":6},{"content":4,"lastmod":5},"## List call journal\n\n`GET \u002Fv1\u002Fcalls\u002Flog`\n\nReturns the key owner's personal call journal — incoming, outgoing and missed calls — with a missed-call counter. The journal is read page by page using a cursor from the last record.\n\n## Parameters\n\n| Parameter | Type | Required | Default | Description |\n|----------|-----|-------|-----------|----------|\n| `status` (query) | string \u002F string[] | no | — | Call status: `initiated`, `answered`, `declined`, `missed`, case-insensitive. Several statuses — `status[]=missed&status[]=answered` or a repeated parameter `status=missed&status=answered` |\n| `excludeStatus` (query) | string | no | — | One status from the same list to exclude from the results |\n| `type` (query) | string | no | — | Direction: `incoming` or `outgoing`. When `status` is also passed, `status` takes precedence |\n| `search` (query) | string | no | — | Search string |\n| `count` (query) | integer | no | `50` | Page size, a positive integer. A value above `100` is capped at `100` |\n| `lastId` (query) | integer | no | `0` | `id` of the last record on the previous page. `0` — the first page |\n| `lastStatusTime` (query) | string | no | — | `statusTime` of the last record on the previous page, passed together with `lastId` |\n\nOther query parameters are rejected with `400 INVALID_PARAMS`.\n\nPagination: for the next page, pass `lastId` and `lastStatusTime` from the last record of the current one. Pass `statusTime` unchanged, exactly as it arrived: it is an ATOM date with a time zone offset.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -g -X GET \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fcalls\u002Flog?status[]=missed&status[]=answered&count=50\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl -g -X GET \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fcalls\u002Flog?status[]=missed&status[]=answered&count=50\" \\\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 response = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fcalls\u002Flog?status[]=missed&status[]=answered&count=50', {\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\nconst { success, data, error } = await response.json()\nconsole.log(success ? data.calls : error.code)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst response = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fcalls\u002Flog?status[]=missed&status[]=answered&count=50', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\nconst { success, data, error } = await response.json()\nconsole.log(success ? data.calls : error.code)\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|----------|\n| `success` | boolean | `true` on success |\n| `data.calls` | array | Journal records; an empty array means there are none |\n| `data.calls[].id` | integer | Journal record ID. Used to [delete a record](\u002Fdocs\u002Fcalls\u002Flog\u002Fdelete) and as `lastId` |\n| `data.calls[].sourceType` | string | Call source |\n| `data.calls[].sourceCallId` | integer | Call ID in the source |\n| `data.calls[].status` | string | Status: `initiated`, `answered`, `declined`, `missed` |\n| `data.calls[].statusTime` | string | Time of the status change in ATOM format. Used as `lastStatusTime` |\n| `data.calls[].type` | string | Direction: `incoming` or `outgoing` |\n| `data.calls[].isUnseen` | boolean | Whether the record is unseen |\n| `data.calls[].callData` | object | Call data. Only the fields present in the record are returned: `phoneNumber`, `displayName`, `title`, `avatar`, `color`, `dialogId`, `chatType` are strings, `duration`, `userId`, `chatId`, `userCount` are integers |\n| `data.missedCounter` | integer | Missed-call counter |\n\n## Response example\n\nA journal with no records:\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"calls\": [],\n    \"missedCounter\": 0\n  }\n}\n```\n\n## Error response example\n\n400 — unknown status:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"INVALID_FILTER_VALUE\",\n    \"message\": \"Invalid filter value\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|----------|\n| 400 | `INVALID_FILTER_VALUE` | `status` or `excludeStatus` is outside the status list, the `status` array is empty, or `type` or `search` is not a string |\n| 400 | `INVALID_PARAMS` | Unknown query parameter: `Unknown query parameter` |\n| 400 | `INVALID_PARAMS` | `count` is not a positive integer, `lastId` is not a non-negative integer, or `lastStatusTime` is not a string |\n| 403 | `SCOPE_DENIED` | The key lacks the `call` scope |\n| 403 | `BITRIX_ACCESS_DENIED` | Bitrix24 denied access |\n| 401 | `TOKEN_MISSING` | The key has no Bitrix24 tokens configured |\n| 422 | `BITRIX_ERROR` | Bitrix24 rejected the request; the text is in `error.message` |\n| 429 | `RATE_LIMITED` | The Bitrix24 request limit is exceeded |\n| 502 | `BITRIX_ERROR` | The journal response does not have the expected shape: `Invalid call log response` |\n| 502 | `BITRIX_UNAVAILABLE` | Bitrix24 is unavailable |\n| 503 | `BITRIX_TIMEOUT` | Bitrix24 did not respond in time |\n\nThe full list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n**The journal is personal.** The response contains only the calls of the user who owns the key. Call statistics for the Bitrix24 account are read separately — [Analytics and reference data](\u002Fdocs\u002Ftelephony\u002Fanalytics).\n\n**Strings with credentials are hidden.** A string field of a record that contains a URL with a Bitrix24 access token is returned as `[REDACTED]`.\n\n**The `manage_call_log` MCP tool.** The same list is requested with `action: \"list\"` and parameters in `query`: `{ \"status\": [\"missed\", \"answered\"], \"count\": 50 }`. The `status` array must contain at least one string; other `query` values are strings or numbers.\n\n## See also\n\n- [Call journal](\u002Fdocs\u002Fcalls\u002Flog)\n- [Delete journal entry](\u002Fdocs\u002Fcalls\u002Flog\u002Fdelete)\n- [Chat with a user](\u002Fdocs\u002Fcalls\u002Flog\u002Fchat)\n- [Calls](\u002Fdocs\u002Fcalls)\n","2026-10-16",{},1795415350633]