Skip to main content
Creates a port exposure for a service inside the machine. Pass the port your service listens on. The response includes port_id, status, and the numeric port; when url is present, use it to open the service from a browser or webhook provider. Ports are public. Do not expose a service on a port unless anyone with the URL can access it.
string
required
The machine that runs the service.
integer
required
The internal port your service listens on.

Manage exposed ports

string
required
The machine that owns the exposed port.
string
required
The port resource to retrieve or delete. This is the returned port_id value, not the numeric port your service listens on.
Last modified on July 13, 2026