---
title: "List SIP trunks with live registration state, status and call counts"
method: GET
path: "/api/v1/trunks"
tags: ["sip"]
---

# List SIP trunks with live registration state, status and call counts

`GET /api/v1/trunks`

## Request

- Base URL: `https://www.callagent.pro`
- URL: `https://www.callagent.pro/api/v1/trunks`
- Auth: HTTP bearer

## Response `200`

Trunks with live registration state

- object
  - `ok` boolean
  - `trunks` Trunk[]
    - `id` integer, required
    - `name` string, required: Display name — what you sent as trunk_name
    - `provider` string, required
    - `provider_label` string, required: Human-readable provider name
    - `host` string, required
    - `port` integer, required
    - `username` string, required
    - `true` boolean: Enabled
    - `status` string, required: Live registration state, e.g. active
    - `is_default` boolean, required
    - `inbound_assistant_id` integer, nullable, required: Agent that answers calls arriving on this trunk
    - `calls` integer, required
    - `dur` string, required: Total talk time, HH:MM or MM:SS
  - `server` string: SIP host trunks register against

## Other responses

- `401`: Missing or invalid Bearer key
- `429`: Too many requests — see the endpoint's rate limit tier (agent-api 120/min, agent-api-heavy 6/min, agent-api-secrets 10/min)

---

[API](https://skmtc.dev/callagent/apis/callagent-pro-agent-api.md) · [All operations](https://skmtc.dev/callagent/apis/callagent-pro-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/callagent/apis/callagent-pro-agent-api/revisions/38072cf8a24b?raw)
