Skip to main content
PUT
Create or update a WebSocket node

Authorizations

X-Api-Key
string
header
required

Management token from the RouteMesh dashboard (Settings → Management Tokens). Required for customer API endpoints (/api-keys, /usage). Tokens are prefixed rmtm_ and scoped to your account. Authenticate by passing the token in the X-Api-Key header. Separate from RPC service keys (rm_), which authenticate dApp traffic to the routing layer.

Body

application/json
plan_id
integer
required

Plan ID the WebSocket node belongs to (must be owned by the provider).

chain_id
string
required

Chain ID the node serves, e.g. 137.

url
string
required

Public wss:// endpoint URL; must accept eth_subscribe("newHeads").

Response

WebSocket node upserted

message
string
node_ws
object
status
string

healthy on success.