Skip to content
Wardcase Docs

List ports

GET
/v1/sandboxes/{id}/ports
id
required
string
/^sbx_[A-Za-z0-9]+$/

Sandbox ids are lowercase: sbx_ followed by 16 characters from [a-z0-9]. Hostname labels derived from them are therefore safe to compare after lowercasing.

OK

object
data
required
Array<object>
object
id
required
string
sandbox_id
required
string
port
required
integer
access
required
string
Allowed values: public token
url
required

Public URL of the exposed port: https://<port>-<id-part>.wardcase.com. A first-level subdomain so Universal SSL covers it.

string format: uri
token

Present only in the create response when access is token, and never on an idempotent replay. Send it once as the token query parameter on the exposure URL; the edge then sets the cookie vv_exp_<exposure_id> holding the token and checks it against the exposure on every request.

string
created_at
required
string format: date-time