Skip to main content
GET
Tunnel to a port

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sailbox_id
string
required

Id of the Sailbox, as returned by create. It is sb_ followed by a UUID.

Query Parameters

port
integer
required

Port a program inside the Sailbox listens on, at 127.0.0.1 or on all interfaces.

Required range: 1 <= x <= 65535

Response

The connection is now a WebSocket carrying the tunnel.