Skip to main content
GET
/
io.pocketenv.sandbox.getExposedPorts
Get the list of exposed ports for a sandbox.
curl --request GET \
  --url https://api.pocketenv.io/xrpc/io.pocketenv.sandbox.getExposedPorts \
  --header 'Authorization: Bearer <token>'
{
  "ports": [
    {
      "port": 33280,
      "description": "<string>",
      "previewUrl": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

id
string
required

The sandbox ID.

Response

OK

ports
object[]