[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-telephony-users":3,"docs-tabs-telephony-users":6},{"content":4,"lastmod":5},"# Employee telephony settings\n\n`GET \u002Fv1\u002Ftelephony-users`\n\nReturns employee telephony settings: the default outbound line, SIP phone status, the server address and login for connecting the SIP phone, and the extension number. The SIP password is never returned. The `hasPassword` flag is returned instead.\n\nScope: `telephony`. Works only with an OAuth application key `vibe_app_…` and a user session token. Bitrix24 checks permission to read the settings and may require administrator approval.\n\n## Parameters\n\n| Parameter | Type | Req. | Description |\n|---|---|---|---|\n| `userIds` (query) | string | yes | Comma-separated positive employee IDs. List: [`GET \u002Fv1\u002Fusers`](\u002Fdocs\u002Fentities\u002Fusers\u002Flist) |\n\n## Examples\n\nA personal key `vibe_api_…` receives `403 OAUTH_REQUIRED`. Use an OAuth application key `vibe_app_…`.\n\n### curl — OAuth application\n\n```bash\ncurl -X GET 'https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Ftelephony-users?userIds=42,43' \\\n  -H 'X-Api-Key: YOUR_APP_KEY' \\\n  -H 'Authorization: Bearer USER_SESSION_TOKEN'\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Ftelephony-users?userIds=42,43', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\nconst { data } = await res.json()\nconsole.log(data)\n```\n\n## Response fields\n\n| Field | Type | Description |\n|---|---|---|\n| `success` | boolean | Always `true` on success |\n| `data` | array | Telephony settings for each employee found |\n| `data[].id` | string | Employee ID |\n| `data[].defaultLine` | string | Default outbound line |\n| `data[].phoneEnabled` | string | Whether the SIP phone is activated: `Y` — yes, `N` — no |\n| `data[].sipServer` | string | Server address for connecting the SIP phone |\n| `data[].sipLogin` | string | Login for connecting the SIP phone |\n| `data[].hasPassword` | boolean | Whether a SIP password is set. The password itself is not returned |\n| `data[].innerNumber` | string | Employee extension number |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": [\n    {\n      \"id\": \"77\",\n      \"hasPassword\": true,\n      \"innerNumber\": \"177\"\n    }\n  ]\n}\n```\n\n## Error response example\n\n403 — request with a personal key:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"OAUTH_REQUIRED\",\n    \"message\": \"This endpoint requires an OAuth application key; webhook keys have no application context.\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|---|---|---|\n| 400 | `MISSING_REQUIRED_FIELDS` | `userIds` is missing or contains a value that is not a positive integer |\n| 403 | `OAUTH_REQUIRED` | Request with a personal key `vibe_api_…`. An OAuth application key is required |\n| 403 | `SCOPE_DENIED` | The key lacks the `telephony` scope |\n| 403 | `BITRIX_ACCESS_DENIED` | Bitrix24 denied access to the telephony settings |\n| 401 | `MISSING_API_KEY` | `X-Api-Key` was not passed |\n| 401 | `INVALID_API_KEY` | The key was not found or has been revoked |\n| 401 | `TOKEN_MISSING` | The key has no connection to Bitrix24 |\n| 422 | `BITRIX_ERROR` | Bitrix24 rejected the request. The reason is in `message` |\n| 429 | `RATE_LIMITED` | Request limit exceeded |\n| 502 | `BITRIX_UNAVAILABLE` | Bitrix24 is unavailable or returned an invalid response |\n| 503 | `BITRIX_TIMEOUT` | Bitrix24 did not respond in time |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [Calls](\u002Fdocs\u002Fcalls)\n- [SIP connections](\u002Fdocs\u002Fvoximplant-sip)\n- [Employees](\u002Fdocs\u002Fentities\u002Fusers)\n","2026-10-28",{},1795517579288]