Trunks
Trunks represent SIP Trunks between the Spoke platform and your on-premise or legacy PBX platforms. Trunks can be created via the Spoke Account Portal
List trunks in your organisation
Lists all trunks in your organisation.
This endpoint supports paging. By default the API will return 100 trunks, configurable up to a maximum of 1000 trunks at a time. If the result from a previous call includes a next value in the result set you can use the value returned as the next parameter in the query string to retrieve the next page of results.
query Parameters
Headers
AuthorizationAuthorization header bearing the access token
List trunks in your organisation › Responses
Trunks
The list of SIP trunks
Get a trunk
Retrieve a trunk resource, and its data.
path Parameters
trunkIdThe trunk ID
Headers
AuthorizationAuthorization header bearing the access token
Get a trunk › Responses
Trunk
allowSipFromAddressThe trunk ip addresses, for traffic from your network into spoke
idThe ID of the trunk
nameThe name of the trunk
regionThe trunk region
sendSipToAddressThe IP address/FQDN, for traffic from Spoke into your network
sipDomainNameThe trunks sip domain name, this SIP domain uniquely identifies your account on Spoke