SIP trunks
List SIP trunks
Returns a paginated list of SIP trunks for the authenticated account.
get/v1/trunks
Query parameters
pageinteger
Page number to retrieve. Default 1.
per_pageinteger
Number of records to return per page. Default 25.
Response
Returns a paginated list of SIP trunks.
Example response
{
"sip_trunks": [
{
"id": 3107,
"label": "My trunk",
"name": "32882",
"auth_method": "IP auth",
"callerid": "14302287001",
"host_request": {
"host": "127.0.0.1",
"status": "pending"
},
"encrypted_media": false,
"passthrough": false,
"multiple_numbers": true,
"status": "pending",
"charge": "24.637",
"talk_time": 65,
"machine_detection_enabled": true,
"call_recording_enabled": true,
"transcription_enabled": true,
"transcription_threshold": 6,
"access_token": "siped7a3f5c1b9e042d6f8a4c2e7b9d1f3a5c8e0b2d4f6a8c0e2d4b6f8a1c3e5d7"
}
],
"pagination": {
"current_page": 1,
"total": 1,
"per_page": 25,
"total_pages": 1
}
}