Skip to content

GET /connect

Creates a browser on the cloud platform and returns the direct CDP WebSocket URL. After this call, your CDP traffic goes directly to the browser — the gateway is not in the data path.

URL: GET /connect

Auth: x-api-key header and/or token query parameter

All parameters from the local /connect endpoint are supported, plus:

ParameterDescription
tokenAPI key (alternative to x-api-key header)
backendEngine identifier
maxLifetimeSession TTL in seconds
vnctrue to start per-browser noVNC session
protection.*Per-feature fingerprint overrides (e.g. protection.canvas=noise)

Body: Plain text CDP WebSocket URL

Headers:

HeaderDescription
x-session-idUnique session identifier (use for reconnection)
x-vnc-urlnoVNC URL (when vnc=true)
Terminal window
curl "https://cloud.rayobrowse.com/connect?token=your-key&os=windows&headless=true" \
-H "x-api-key: your-key"

Response body:

wss://backend-host:port/cdp/session-id