---
title: "List SIP accounts/extensions with registration, device, ping and call counters"
method: GET
path: "/api/v1/sip-accounts"
tags: ["sip"]
---

# List SIP accounts/extensions with registration, device, ping and call counters

`GET /api/v1/sip-accounts`

## Request

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

## Response `200`

Extensions with live registration state

- object
  - `ok` boolean
  - `sip_accounts` SipAccount[]
    - `id` integer, required
    - `user` string, required: The extension/username a device registers with
    - `name` string, nullable, required
    - `role` string, required
    - `agent` string, required: Name of the agent this extension reaches
    - `dir` string, required: Short direction label
    - `direction` 'inbound' | 'outbound' | 'both', required
    - `true` boolean
    - `status` string, required: Live registration state
    - `ip` string, required: Address it registered from
    - `ping` integer, required: Round-trip ms to the device
    - `device` string, required
    - `device_ua` string, required: Raw SIP User-Agent
    - `last` string, required: Last seen, humanized
    - `created` string, required
    - `calls` integer, required
    - `dur` string, required
  - `server` string: SIP host extensions 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)
