Get all VXCs
GET/networking/vxcs
Returns a list of all your networks
Request
Query Parameters
filter[site_id] number
The site id
to filter on
filter[network_id] number
The network id
to filter on
page[number] number
Current page based on pagination settings.
page[size] number
Number of results to return per page based on pagination settings.
Responses
200: Successful response
- application/json
401: Authentication error
- application/json
403: Authorization error
- application/json
Request samples
curl -L 'https://api.telnyx.com/networking/vxcs' \
-H 'Accept: application/json'
Response samples
{
"data": [
{
"afi": "string",
"bandwidth_mbps": 0,
"bgp_asn": 0,
"cloud_account_id": "string",
"cloud_provider": "string",
"cloud_region": "string",
"network_id": "string",
"site_id": "string",
"user_id": "string",
"id": 0,
"notes": "string",
"primary_cid": "string",
"primary_link_id": "string",
"primary_bgp_key": "string",
"primary_cloud_ip": "string",
"primary_routing_announcement": true,
"primary_telnyx_ip": "string",
"primary_virtual_link_created": true,
"record_type": "string",
"secondary_link_id": "string",
"secondary_cid": "string",
"secondary_bgp_key": "string",
"secondary_cloud_account_id": "string",
"secondary_cloud_ip": "string",
"secondary_routing_announcement": true,
"secondary_telnyx_ip": "string",
"secondary_virtual_link_created": true,
"order_status": "string"
}
],
"meta": {
"total_pages": 13,
"total_results": 13,
"page_number": 3,
"page_size": 1
}
}
{
"errors": [
{
"code": "10001",
"title": "error title",
"detail": "additional detail about the error",
"pointer": "/pointer/to/field"
}
]
}
{
"errors": [
{
"code": "10001",
"title": "error title",
"detail": "additional detail about the error",
"pointer": "/pointer/to/field"
}
]
}