Remotehost Docs

List public sandbox preview links

GET
/sandboxes/{sandboxId}/previews

Only persistent public links are listed; team previews are stateless and never stored. The URL is not returned, since its token exists only in the create response.

Authorization

bearerAuth
AuthorizationBearer <token>

A RemoteHost API key (rh_sk_...) or a user session token.

In: header

Path Parameters

sandboxId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/sandboxes/string/previews"
{  "previewLinks": [    {      "id": "string",      "port": 0,      "audience": "team",      "label": "string",      "endUserId": "string",      "createdAt": "string",      "expiresAt": "string",      "revokedAt": "string",      "lastSeenAt": "string",      "active": true    }  ]}