SIP Trunks
List SIP trunks
Returns a list of all SIP trunks. If you specify pagination settings, the list of SIP trunks can be returned separated and sorted into pages.
get/trunks
Query parameters
pageinteger
The page you want to fetch, can set to 1 for first page, or omitted for first page
sizeinteger
The size of each page to fetch
domainstring
Filter by domain
Response
Request completed successfully
Example response
{
"totalItems": 10000,
"pageNumber": "1",
"size": 2000,
"sipTrunks": [
{
"hostName": "acme-domain-1",
"topLevelDomain": ".elastic-sip.sinch.com",
"domain": "acme-domain-1.elastic-sip.sinch.com",
"name": "Acme Trunk",
"callsPerSecond": 100,
"enableCallerName": true,
"callForwardNumber": "+17208511190",
"enableCallForward": true,
"createTime": "2022-01-01T00:00:00Z",
"updateTime": "2022-01-01T00:00:00Z",
"projectId": "1bf62742-7b84-4666-9cbe-8e5734fd57d0"
}
]
}