> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lacy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get SIP trunk

> Get a single SIP trunk by ID

This endpoint returns detailed information about a specific SIP trunk, including internal trunk IDs useful for debugging.

### Path Parameters

**id** `integer` *required*

The unique identifier of the SIP trunk

### Response

**data** `object`

The SIP trunk object

**SIP trunk properties**

**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`

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` or `ip`

**allowed\_inbound\_ips** `array`

Array of whitelisted IP addresses (only when `inbound_authorization_type` is `ip`)

**outbound\_proxy** `boolean`

Whether outbound calls use a fixed proxy IP address

**country\_code** `string`

The ISO 3166-2 country code

**inbound\_trunk\_id** `string`

Internal identifier for the inbound voice trunk (useful for debugging)

**outbound\_trunk\_id** `string`

Internal identifier for the outbound voice trunk (useful for debugging)

**created\_at** `string`

ISO 8601 timestamp

**updated\_at** `string`

ISO 8601 timestamp

```json 200 Response theme={null}
{
  "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"
  }
}
```

```json 404 Not Found theme={null}
{
  "error": "SIP trunk not found."
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.