---
title: "POST /network"
method: POST
path: "/network"
---

# POST /network

`POST /network`

Creates a new network entry and optionally makes it the default.

## Request body

- object
  - `name` string, required — Unique network name.
  - `url` string, required — RPC URL for the network.
  - `default` boolean — Whether to make this network the default and current.

## Response `200`

Network created.

- NetworkManagerItem — Network manager item.
  - `currentNetwork` string, required — actual network.
  - `availableNetworkInfos` NetworkInfoItem[], required — detailed available networks with status
    - `name` string
    - `url` string
    - `chainId` integer
    - `version` string
    - `status` 'up' | 'down'

## Other responses

- `400` — Bad request.
- `500` — Internal Server Error - The server has encountered a situation it does not know how to handle.

---

[API](https://skmtc.net/massalabs/apis/massastation.md) · [All operations](https://skmtc.net/massalabs/apis/massastation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/massalabs/massastation/versions/26b1a89baa49/schema)
