Retrieve trunk details
This method lets you retrieve details trunk.
API Endpoint
GET
https://zt.plivo.com/v1/Account/{auth_id}/Trunk/
Arguments
direction string | The direction of the trunk associated. Allowed values: inbound, outbound |
Response
HTTP Status Code: 200
{
"data": [
{
"trunk_id": "16374544154720650",
"trunk_domain": "16374544154720650.zt.plivo.com",
"name": "Trunk-1",
"type":"inbound",
"enabled": true / false,
"secure": true / false,
"uri_uuid": "1234567xxx",
"fallback_uri_uuid": "1234567xxx",
"credential_uuid" :"",
"ip_addresses_uuid": ""
},
{
"trunk_id": "16374544154720650",
"trunk_domain": "16374544154720650.zt.plivo.com",
"name": "Trunk-2",
"type":"outbound",
"enabled": true / false,
"secure": true / false,
"credential_uuid": "1234567xxx",
"ip_addresses_uuid": "1234567xxx",
"uri_uuid": "",
"fallback_uri_uuid": "9869697xxxx"
},
]
}
Example Request
1
1
1
1
1
1
1
2
curl -i --user AUTH_ID:AUTH_TOKEN \
https://zt.plivo.com/v1/Account/{auth_id}/Call/
1
Rate this page
🥳 Thank you! It means a lot to us!
×
Help Us Improve
Thank you so much for rating the page, we would like to get your input for further improvements!
Subscribe to Updates
Thank you for your feedback!