---
title: "List SIP Trunks"
method: GET
path: "/user/phone-numbers/sip-trunks"
tags: ["SIP Trunks"]
---

# List SIP Trunks

`GET /user/phone-numbers/sip-trunks`

## Request

- Base URL: `https://app.famulor.de/api`
- URL: `https://app.famulor.de/api/user/phone-numbers/sip-trunks`
- Auth: HTTP bearer

Get all SIP trunks owned by the authenticated user

[Docs](https://docs.famulor.io/api-v1/sip-trunks/list)

## Response `200`

Response

- object
  - `data` object[]: Array of SIP trunk objects
    - `id` integer: The unique identifier of the SIP trunk
    - `phone_number` string: The SIP extension or phone number (DID) in E.164 format
    - `nickname` string, nullable: A short, human-friendly label for the trunk (or `null` if not set)
    - `sip_username` string: The username used for SIP authentication
    - `sip_address` string: The SIP server address
    - `sip_calling_format` string: The outbound calling number format: `+e164`, `e164`, or `national`
    - `inbound_authorization_type` string: The inbound authorization method: `auth` (username/password) or `ip` (IP whitelist)
    - `allowed_inbound_ips` unknown[], nullable: Array of whitelisted IP addresses for inbound calls (only when `inbound_authorization_type` is `ip`)
      - unknown
    - `outbound_proxy` boolean: Whether outbound calls use a fixed proxy IP address
    - `country_code` string: The ISO 3166-2 country code where the SIP trunk is located
    - `created_at` string: ISO 8601 timestamp of when the SIP trunk was created
    - `updated_at` string: ISO 8601 timestamp of when the SIP trunk was last updated

## Other responses

- `401`: Fehlender oder ungültiger API-Key.
- `422`: Die Anfrage ist inhaltlich ungültig.

---

[API](https://skmtc.dev/famulor/apis/famulor-api.md) · [All operations](https://skmtc.dev/famulor/apis/famulor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/famulor/apis/famulor-api/revisions/3b938c370721?raw)
