---
title: "List"
method: GET
path: "/api/cp/switch/ip"
tags: ["Switch"]
---

# List

`GET /api/cp/switch/ip`

Retrieve a paginated list of Switch records. Supports filtering, sorting, and search.

## Response `200`

Successful response

- Switch[]
  - `id` integer — Id
  - `company_id` integer — Company Id (references company.id)
  - `ip` string, ipv4 — Ip
  - `proxy` string — Proxy
  - `bandwidth` integer — Bandwidth
  - `channels` integer — Channels
  - `cps` integer — Cps
  - `manufacturer` string — Manufacturer
  - `version` string — Version
  - `protocol` string — Protocol
  - `port` string — Port
  - `codec` string — Codec
  - `dial_pattern` string — Dial Pattern
  - `prefix` string — Prefix
  - `cli_prefix` string — Cli Prefix
  - `strip` integer — Strip
  - `cli_strip` integer — Cli Strip
  - `direction` string[] — Direction
  - `user` string — User
  - `pass` string — Pass
  - `from` string — From
  - `rewrite` object — Rewrite
  - `force_nat` integer — Force Nat
  - `intercept_reinvite` integer — Intercept Reinvite
  - `flags` string — Flags
  - `weight` integer — Weight
  - `start_ip` integer — Start Ip
  - `end_ip` integer — End Ip
  - `iso3166_alpha_2` string — Iso 3166 Alpha 2

## Other responses

- `400` — Bad Request - Invalid parameters or request body
- `401` — Authentication information is missing or invalid
- `403` — Access denied - insufficient permissions or dependency access failure
- `500` — Internal server error

---

[API](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api.md) · [All operations](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/connexcs/connexcs-control-panel-api/revisions/54bc2ed6edae/schema)
