Skip to main content
POST
Open a port

Authorizations

Authorization
string
header
required

An API key (zode_tok_...). Create one in the console under API keys (https://console.zode.dev/tokens), or with zode login.

Path Parameters

id
string
required

Body

application/json
port
integer
required
Required range: 1 <= x <= 65535
access
enum<string>
Available options:
private,
public,
password

Response

Open

id
string
required
Pattern: ^prt_[a-z2-7]{16}$
sandbox_id
string
required
port
integer
required
url
string
required

https://-.

access
enum<string>
required
Available options:
private,
public,
password
created_at
string<date-time>
required
password
string

Only when a password preview is opened