Network Routes
List all Network Routes
Changed onLists the routes of the account's Networks. A Network's list is its effective route table: the routes added with POST /network_routes (origin static) and the routes that its attachments install (origin attachment). Lookup is longest prefix within the Network.
get/network_routes
Request
- Base URLhttps://api.telnyx.com/v2
- URLhttps://api.telnyx.com/v2/network_routes
- AuthHTTP bearer
Query parameters
Consolidated filter parameter (deepObject style). Originally: filter[network_id], filter[origin], filter[next_hop.type], filter[cidr], filter[status]
{
"network_id": "91446ee3-5b1c-4f0e-8d2a-6c7e9b0a1f24",
"origin": "static",
"next_hop.type": "tunnel",
"cidr": "10.20.0.0/16",
"status": "active"
}sort'cidr' | '-cidr' | 'status' | '-status' | 'created_at' | '-created_at'
Example:-created_at
Sorts the results by a field, ascending, or descending with a leading -. The default is -created_at.
Consolidated page parameter (deepObject style). Originally: page[after], page[limit]
Response
Successful response.
Example response
{
"data": [
{
"id": "e8a2c5d0-3f7b-4a19-b6d2-9c1e0f8a7b53",
"record_type": "network_route",
"network_id": "91446ee3-5b1c-4f0e-8d2a-6c7e9b0a1f24",
"cidr": "10.20.0.0/16",
"next_hop": {
"type": "tunnel",
"id": "62d438d2-8a51-4c5e-9d0c-1f6b2a7e4c39"
},
"origin": "static",
"status": "active",
"created_at": "2026-10-21T15:04:05.123456Z"
}
],
"meta": {
"next": "/v2/network_routes?filter%5Bnetwork_id%5D=91446ee3-5b1c-4f0e-8d2a-6c7e9b0a1f24&page%5Bafter%5D=MjAyNi0xMC0yMVQxNjowNjowMC4wNDMwNDRa&page%5Blimit%5D=1"
}
}Changes
- info
endpoint added
- info