Skip to main content

Get a Network

GET 
/networking/networks/:id

Returns the details of a network. The ID in the path can either be the name of the network (e.g. MYNETWORKPROD) or object ID.

Request

Path Parameters

    id stringrequired

    The id of the network

Responses

200: Successful response

401: Authentication error

403: Authorization error

404: Resource not found

Request samples


curl -L 'https://api.telnyx.com/networking/networks/:id' \
-H 'Accept: application/json'

Response samples


{
"data": {
"id": 0,
"site_ids": [
"string"
],
"ip_address_count": 0,
"name": "string",
"record_type": "string",
"resource_group_id": "string",
"site_count": 0,
"transit_count": 0,
"transport_count": 0,
"vxc_count": 0
}
}