[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-voximplant-sip\u002Flist":3,"docs-tabs-voximplant-sip\u002Flist":6},{"content":4,"lastmod":5},"## List connections\n\n`GET \u002Fv1\u002Fvoximplant-sip`\n\nReturns the SIP connections of office and cloud PBXs available to the key, with filtering, sorting and pagination.\n\n## Parameters\n\n| Parameter | Type | Required | Default | Description |\n|----------|-----|:-----:|-----------|----------|\n| `filter` (query) | object | no | — | Filter by the connection fields from the \"Response fields\" table, except `hasPassword` and `hasIncomingPassword`. The operator goes before the field name: `>`, `>=`, `!` — not equal, `%` — substring.\u003Cbr>[Filtering syntax](\u002Fdocs\u002Ffiltering). Pass several values of one field as an array. Conditions on different fields are combined with AND, and `filter[logic]=OR` combines them with OR. Example: `?filter[type]=office`, `?filter[configId][]=1&filter[configId][]=17` |\n| `sort` (query) | string | no | — | Sort field — any field that `filter` works with. Pass it only together with `order` |\n| `order` (query) | string | no | — | Sort direction: `ASC` or `DESC`, case-insensitive. Pass it only together with `sort` |\n| `start` (query) | number | no | `0` | How many records to skip. For the next page, pass the `meta.next` value from the previous response |\n\nThe request accepts no other parameters.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fvoximplant-sip?sort=configId&order=ASC\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fvoximplant-sip?sort=configId&order=ASC\" \\\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\u002Fvoximplant-sip?sort=configId&order=ASC', {\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\n\nconst { data, meta } = await res.json()\nfor (const sip of data) {\n  console.log(sip.configId, sip.type, sip.title, sip.server)\n}\nif (meta.next !== undefined) {\n  console.log('Next page: start =', meta.next)\n}\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fvoximplant-sip?sort=configId&order=ASC', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { data, meta } = await res.json()\nfor (const sip of data) {\n  console.log(sip.configId, sip.type, sip.title, sip.server)\n}\nif (meta.next !== undefined) {\n  console.log('Next page: start =', meta.next)\n}\n```\n\n## Response fields\n\nPasswords are not included in the response — the `hasPassword` and `hasIncomingPassword` flags are returned instead.\n\n| Field | Type | Description |\n|------|-----|----------|\n| `success` | boolean | `true` on success |\n| `data` | array | Connections. An empty array if nothing matches the filter |\n| `data[].configId` | string | Connection ID |\n| `data[].type` | string | PBX type: `office` — office PBX, `cloud` — cloud PBX |\n| `data[].title` | string | Connection name |\n| `data[].server` | string | SIP server address |\n| `data[].login` | string | Login on the SIP server |\n| `data[].hasPassword` | boolean | Whether the connection password is set |\n| `data[].authUser` | string \\| null | User name for authorization on the SIP server. `null` if not set |\n| `data[].outboundProxy` | string \\| null | Proxy server address for outgoing calls. `null` if not set |\n| `data[].detectLineNumber` | string | Whether to detect the line number from the SIP headers of an incoming call: `N` — do not detect |\n| `data[].lineDetectHeaderOrder` | string | SIP headers used to detect the line number, in the order they are checked, for example `diversion;to` |\n| `data[].registrationStatusCode` | string \\| null | Result code of the registration on the SIP server, for example `502` when the server is not found |\n| `data[].registrationErrorMessage` | string \\| null | Registration error text. `null` if there is no error |\n| `data[].regId` | string | Cloud PBX only: registration ID on the SIP server |\n| `data[].incomingServer` | string | Office PBX only: server address for incoming calls, issued by Bitrix24 |\n| `data[].incomingLogin` | string | Office PBX only: login for incoming calls, issued by Bitrix24 |\n| `data[].hasIncomingPassword` | boolean | Office PBX only: whether the password for incoming calls is set |\n| `meta.total` | number | How many connections match the filter. When nothing matches the filter, `meta` is an empty object |\n| `meta.next` | number | The `start` value for the next page. Present only when there is a next page |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": [\n    {\n      \"type\": \"cloud\",\n      \"configId\": \"1\",\n      \"regId\": \"133788\",\n      \"server\": \"pbx.example.com\",\n      \"login\": \"cloud-line\",\n      \"hasPassword\": true,\n      \"authUser\": \"cloud-user\",\n      \"outboundProxy\": \"proxy.example.com\",\n      \"detectLineNumber\": \"N\",\n      \"lineDetectHeaderOrder\": \"diversion;to\",\n      \"registrationStatusCode\": \"502\",\n      \"registrationErrorMessage\": \"Unable to resolve hostname\",\n      \"title\": \"Cloud PBX\"\n    },\n    {\n      \"type\": \"office\",\n      \"configId\": \"17\",\n      \"server\": \"sip.example.com\",\n      \"login\": \"office-line\",\n      \"hasPassword\": true,\n      \"incomingServer\": \"ip.b24-1234-1234567890.bitrixphone.com\",\n      \"incomingLogin\": \"sip17\",\n      \"hasIncomingPassword\": true,\n      \"authUser\": null,\n      \"outboundProxy\": null,\n      \"detectLineNumber\": \"N\",\n      \"lineDetectHeaderOrder\": \"diversion;to\",\n      \"registrationStatusCode\": \"0\",\n      \"registrationErrorMessage\": null,\n      \"title\": \"Office PBX\"\n    }\n  ],\n  \"meta\": {\n    \"total\": 2\n  }\n}\n```\n\n## Error response example\n\n400 — filter by a password field:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"INVALID_PARAMS\",\n    \"message\": \"filter may use only noncredential SIP fields and logical groups\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|----------|\n| 400 | `INVALID_PARAMS` | A parameter other than `filter`, `sort`, `order`, `start` is passed |\n| 400 | `INVALID_PARAMS` | `filter` is not an object, or it contains a password field, a dot path or a field that is not in the response |\n| 400 | `INVALID_PARAMS` | `sort` and `order` are not passed together, or `order` is neither `ASC` nor `DESC` |\n| 400 | `INVALID_PARAMS` | `sort` names a password field or a field that is not in the response |\n| 400 | `INVALID_PARAMS` | `start` is not a non-negative integer |\n| 401 | `MISSING_API_KEY` | The `X-Api-Key` header is not passed |\n| 401 | `INVALID_API_KEY` | The platform does not know this key string: a typo, a truncated value or a deleted key |\n| 401 | `TOKEN_MISSING` | The key has no access to the portal: a personal key has no portal webhook, or an application key was passed without a session token in `Authorization: Bearer` |\n| 403 | `SCOPE_DENIED` | The key has no `telephony` scope |\n| 403 | `BITRIX_ACCESS_DENIED` | Bitrix24 denied access — [causes explained](\u002Fdocs\u002Ferrors\u002Fauth#bitrix_access_denied-403) |\n| 422 | `BITRIX_ERROR` | Bitrix24 rejected the request. The reason is in `error.message` |\n| 429 | `RATE_LIMITED` | Request rate exceeded |\n| 429 | `QUEUE_OVERFLOW` | The account request queue is full, so the request is rejected without waiting. The `Retry-After` header suggests the delay |\n| 429 | `QUEUE_TIMEOUT` | The request did not get through the account queue in time and was not sent to Bitrix24. The `Retry-After` header suggests the delay |\n| 502 | `BITRIX_UNAVAILABLE` | Bitrix24 is unavailable |\n| 503 | `BITRIX_TIMEOUT` | Bitrix24 did not respond in time |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n- **Only your own application's connections are visible.** The list contains connections created by the same Bitrix24 application as the key: an application key sees its own application's connections, a personal key sees connections created through the Bitrix24 account webhooks. Connections of other applications are not included in the list.\n- **Upper-case field names.** `filter` and `sort` also accept field names in upper case with underscores: `filter[CONFIG_ID]=1`, `sort=CONFIG_ID`.\n\n## See also\n\n- [Get connection](\u002Fdocs\u002Fvoximplant-sip\u002Fget)\n- [Create connection](\u002Fdocs\u002Fvoximplant-sip\u002Fcreate)\n- [SIP connections](\u002Fdocs\u002Fvoximplant-sip)\n- [Default outgoing line](\u002Fdocs\u002Fvoximplant-lines\u002Fdefault)\n","2026-10-13",{},1795415521947]