Sandboxes
Get a preview URL for a sandbox port
Returns a public HTTPS URL that routes to a port inside the sandbox. There is no expose step: any port works, and the URL stays the same for a given sandbox and port.
The URL serves traffic while the sandbox is running and a process listens on that port. Bind your server to 0.0.0.0, not localhost.
API key scope: sandbox.read
Team role permission: sandbox.read
GET
Get a preview URL for a sandbox port
Authorizations
API key created in the dashboard under Settings → API keys. Each key carries permission scopes; every endpoint lists the scope it needs.
Path Parameters
ID of the sandbox.
Pattern:
^[a-fA-F0-9]{24}$Port inside the sandbox, 1 to 65535.
Required range:
1 <= x <= 65535Last modified on November 10, 2026