Get SIP trunk
curl --request GET \
--url https://app.autocalls.ai/api/user/phone-numbers/sip-trunks/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": 42,
"phone_number": "1000",
"nickname": "Provider X — Main",
"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"
}
}
SIP Trunks
Get SIP trunk
Get a single SIP trunk by ID
GET
/
user
/
phone-numbers
/
sip-trunks
/
{id}
Get SIP trunk
curl --request GET \
--url https://app.autocalls.ai/api/user/phone-numbers/sip-trunks/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": 42,
"phone_number": "1000",
"nickname": "Provider X — Main",
"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"
}
}
This endpoint returns detailed information about a specific SIP trunk, including internal trunk IDs useful for debugging.
Path Parameters
The unique identifier of the SIP trunk
Response
The SIP trunk object
Show SIP trunk properties
Show SIP trunk properties
The unique identifier of the SIP trunk
The SIP extension or phone number (DID) in E.164 format
A short, human-friendly label for the trunk (or
null if not set)The username used for SIP authentication
The SIP server address
The outbound calling number format:
+e164, e164, or nationalThe inbound authorization method:
auth or ipArray of whitelisted IP addresses (only when
inbound_authorization_type is ip)Whether outbound calls use a fixed proxy IP address
The ISO 3166-2 country code
Internal identifier for the inbound voice trunk (useful for debugging)
Internal identifier for the outbound voice trunk (useful for debugging)
ISO 8601 timestamp
ISO 8601 timestamp
{
"data": {
"id": 42,
"phone_number": "1000",
"nickname": "Provider X — Main",
"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"
}
}
⌘I

