Skip to main content
GET
/
api
/
workspaces
/
{id}
/
listening-ports
List ports with active listeners in a workspace.
curl --request GET \
  --url https://api.rigbox.dev/api/workspaces/{id}/listening-ports \
  --header 'Authorization: Bearer <token>'
{
  "ports": [
    {
      "address": "<string>",
      "already_exposed": true,
      "port": 1,
      "process": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Workspace ID

Response

200 - application/json

Listening ports

ports
object[]
required