List SIP trunks
Returns a paginated list of SIP trunks for the authenticated account.
Query parameters
Page number to retrieve. Default 1.
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
}
}Changes
Changed in 5 of the 50 revisions of this API.18
- ○
added
SIPTrunkListResponseto the response bodyallOflist for the response status200response-body-all-of-added
- ○
removed
SipTrunkListResponsefrom the response bodyallOflist for the response status200response-body-all-of-removed
This revision also has 42 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
the endpoint scheme security
bearerAuthwas added to the APIapi-security-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the response property
allOf[subschema #1: SipTrunkListResponse]/sip_trunks/items/calleridbecame nullable for the status200response-property-became-nullable
- ○
added the required property
allOf[subschema #1: SipTrunkListResponse]/sip_trunks/items/access_tokento the response with the200statusresponse-required-property-added
- ▲
- ○
api operation id
ListSIPtrunksontheaccountremoved and replaced withsip_trunks_listapi-operation-id-removed
- ○
added
SipTrunkListResponseto the response bodyallOflist for the response status200response-body-all-of-added
- ○
removed
SIPtrunklistfrom the response bodyallOflist for the response status200response-body-all-of-removed
This revision also has 163 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
- ○