Skip to main content
POST
Expose a port

Authorizations

Authorization
string
header
required

Agent token (alt_…) or OAuth access token; bound to one agent

Path Parameters

machineId
string
required

Machine id

Body

application/json
port
integer
required

A port the service listens on at 0.0.0.0

Required range: 1 <= x <= 65535
title
string
Maximum string length: 80
public
boolean

Omit the access token from the URL so anyone can open it (default false)

Response

port, url, title, public

port
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
url
string
required
title
string | null
required
public
boolean
required