Cloud Panel

List networks

GET/api/v1/network

The private networks of the account. Every account starts with one on a router, so a server in it can have a public address.

Example request

curl -X GET "https://platform.serverscamp.com/api/v1/network" \
  -H "Authorization: Bearer $API_TOKEN"

Answer

Status 200 with this body.

FieldTypeDescription
itemslist of NetworkResponserequiredList of networks
items[].network_uuidstringrequiredNetwork UUID
items[].namestringrequiredNetwork name
items[].cidrstringrequiredNetwork CIDR
items[].network_typestringNetwork type: private or public
items[].router_uuidstring, optionalAttached router UUID
items[].statusstringNetwork status: pending, active, attaching, detaching, deleting, failed
items[].status_errorstring, optionalError message when the last operation failed
items[].created_atstring, optionalCreation timestamp
totalintegerrequiredTotal number of networks
{
  "items": [
    {
      "network_uuid": "a3e1f0c2-7d4b-4c6e-8f9a-0b1c2d3e4f50",
      "name": "default",
      "cidr": "10.0.0.0/24",
      "network_type": "private",
      "router_uuid": "5c0d9e8f-1a2b-4c3d-8e7f-6a5b4c3d2e1f",
      "status": "active",
      "status_error": null,
      "created_at": "2026-10-20T10:00:00Z"
    }
  ],
  "total": 1
}

Errors

StatusWhen
401No token, or a token that is not valid
422The body or a parameter is not what the operation takes

Every operation can also answer 401 without a valid token. All errors