Network Routes
Create a Network Route
Changed onAdds a route to a Network. Traffic on the Network to an address in cidr goes via next_hop. With a tunnel as the next hop, functions on the Network reach the CIDR through the tunnel without a redeploy. A Network holds each CIDR once.
post/network_routes
Request
- Base URLhttps://api.telnyx.com/v2
- URLhttps://api.telnyx.com/v2/network_routes
- AuthHTTP bearer
Request body
Example request
{
"network_id": "91446ee3-5b1c-4f0e-8d2a-6c7e9b0a1f24",
"cidr": "10.20.0.0/16",
"next_hop": {
"type": "tunnel",
"id": "62d438d2-8a51-4c5e-9d0c-1f6b2a7e4c39"
}
}Response
Created.
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"
}
}Changes
- info
endpoint added
- info