Skip to main content
GET
/
v1
/
game
/
servers
/
{serverId}
/
websocket
Get WebSocket credentials for console
curl --request GET \
  --url https://api.waterfall.host/v1/game/servers/{serverId}/websocket \
  --header 'Authorization: Bearer <token>'
{
  "token": "<string>",
  "socket": "<string>"
}

Authorizations

Authorization
string
header
required

API key generated from your Waterfall dashboard

Path Parameters

serverId
string
required

Response

200 - application/json

WebSocket credentials

token
string

Authentication token for WebSocket

socket
string

WebSocket URL to connect to