curl --request GET \
--url https://app.famulor.de/api/user/phone-numbers/sip-trunks \
--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",
"created_at": "2026-03-31T10:00:00.000000Z",
"updated_at": "2026-03-31T10:00:00.000000Z"
},
{
"id": 43,
"phone_number": "+14155551234",
"sip_username": "trunk_user",
"sip_address": "sip.provider.com",
"sip_calling_format": "e164",
"inbound_authorization_type": "ip",
"allowed_inbound_ips": ["203.0.113.10", "198.51.100.20"],
"outbound_proxy": true,
"country_code": "US",
"created_at": "2026-03-31T11:00:00.000000Z",
"updated_at": "2026-03-31T11:00:00.000000Z"
}
]
}
Get all SIP trunks owned by the authenticated user
curl --request GET \
--url https://app.famulor.de/api/user/phone-numbers/sip-trunks \
--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",
"created_at": "2026-03-31T10:00:00.000000Z",
"updated_at": "2026-03-31T10:00:00.000000Z"
},
{
"id": 43,
"phone_number": "+14155551234",
"sip_username": "trunk_user",
"sip_address": "sip.provider.com",
"sip_calling_format": "e164",
"inbound_authorization_type": "ip",
"allowed_inbound_ips": ["203.0.113.10", "198.51.100.20"],
"outbound_proxy": true,
"country_code": "US",
"created_at": "2026-03-31T11:00:00.000000Z",
"updated_at": "2026-03-31T11:00:00.000000Z"
}
]
}
Show SIP trunk properties
+e164, e164, or nationalauth (username/password) or ip (IP whitelist)inbound_authorization_type is ip){
"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",
"created_at": "2026-03-31T10:00:00.000000Z",
"updated_at": "2026-03-31T10:00:00.000000Z"
},
{
"id": 43,
"phone_number": "+14155551234",
"sip_username": "trunk_user",
"sip_address": "sip.provider.com",
"sip_calling_format": "e164",
"inbound_authorization_type": "ip",
"allowed_inbound_ips": ["203.0.113.10", "198.51.100.20"],
"outbound_proxy": true,
"country_code": "US",
"created_at": "2026-03-31T11:00:00.000000Z",
"updated_at": "2026-03-31T11:00:00.000000Z"
}
]
}
Was this page helpful?