---
title: "List the preview URLs open on a sandbox"
method: GET
path: "/sandboxes/{id}/ports"
tags: ["Ports"]
---

# List the preview URLs open on a sandbox

`GET /sandboxes/{id}/ports`

## Request

- Base URL: `https://sandbox-as-a-service.com/v1`
- URL: `https://sandbox-as-a-service.com/v1/sandboxes/{id}/ports`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

Open previews.

- object

## Other responses

- `404`: No sandbox with that id for this account.

---

[API](https://skmtc.dev/sandbox-as-a-service/apis/sandbox-as-a-service-api.md) · [All operations](https://skmtc.dev/sandbox-as-a-service/apis/sandbox-as-a-service-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sandbox-as-a-service/apis/sandbox-as-a-service-api/revisions/4f1ea2cf8333?raw)
