Skip to main content

Connecting to the WebSocket Server

To interact with a lift, you must establish a connection to the lift via Websockets. This connection requires authentication using an API key and a lift identifier (liftId) to specify the target lift for the session.

info
  • Session Management: Each WebSocket connection is scoped to the specified liftId. Commands and responses are limited to this lift.

WebSocket Connection Details

WebSocket Endpoint

wss://webserver-539540931078.asia-east1.run.app/

Connection Parameters

The WebSocket server requires arguments in the connection URL:

ParameterTypeRequiredDescription
liftIdStringYesUnique identifier for the target lift.
testingtrue or falseOptionalSet to true to connect to a virtual lift for testing

Connection Headers

The Websocket server requires headers to authenticate the connection:

HeaderTypeRequiredDescription
AuthorizationStringYesAPI Key for authenticating the connection.

Connection URL Format

wss://webserver-539540931078.asia-east1.run.app/?liftId=<LIFT_ID>