SIP trunks
Retrieve a SIP trunk
Returns the SIP trunk identified by id.
get/v1/trunks/{id}
Path parameters
idinteger required
Example:3107
The unique ID of the SIP trunk.
Response
Returns the SIP trunk.
Example response
{
"id": 293,
"name": "67758",
"callerid": "12345678900",
"label": "My trunk",
"allowed_ips": [
{
"id": 6712,
"ip": "127.0.0.1"
}
],
"max_channels": 2,
"cost_limit": true,
"max_call_cost": "0.18",
"call_limit": 3600,
"didinfo_enabled": true,
"rewrite_enabled": true,
"rewrite_prefix": "1",
"call_recording_enabled": true,
"machine_detection_enabled": true,
"transcription_threshold": 10,
"created_at": "2023-05-16T17:13:25.000Z",
"host": "dynamic",
"multiple_numbers": true,
"encrypted_media": true,
"passthrough": true,
"access_token": "123easwqe321132"
}