Zum Hauptinhalt springen
GET
/
api
/
user
/
phone-numbers
/
sip-trunks
/
{id}
SIP-Trunk abrufen
curl --request GET \
  --url https://app.famulor.de/api/user/phone-numbers/sip-trunks/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": 42,
    "phone_number": "1000",
    "sip_username": "myuser",
    "sip_address": "sip.provider.com",
    "sip_calling_format": "+e164",
    "inbound_authorization_type": "auth",
    "allowed_inbound_ips": null,
    "outbound_proxy": false,
    "country_code": "US",
    "inbound_trunk_id": "ST_xxxxxxxxxxxx",
    "outbound_trunk_id": "ST_yyyyyyyyyyyy",
    "created_at": "2026-03-31T10:00:00.000000Z",
    "updated_at": "2026-03-31T10:00:00.000000Z"
  }
}
Dieser Endpunkt liefert detaillierte Informationen zu einem bestimmten SIP-Trunk, inklusive interner Trunk-IDs fuer Debugging.

Pfad-Parameter

id
integer
erforderlich
Die eindeutige Kennung des SIP-Trunks

Antwort

data
object
Das SIP-Trunk-Objekt
{
  "data": {
    "id": 42,
    "phone_number": "1000",
    "sip_username": "myuser",
    "sip_address": "sip.provider.com",
    "sip_calling_format": "+e164",
    "inbound_authorization_type": "auth",
    "allowed_inbound_ips": null,
    "outbound_proxy": false,
    "country_code": "US",
    "inbound_trunk_id": "ST_xxxxxxxxxxxx",
    "outbound_trunk_id": "ST_yyyyyyyyyyyy",
    "created_at": "2026-03-31T10:00:00.000000Z",
    "updated_at": "2026-03-31T10:00:00.000000Z"
  }
}