Skip to main content
POST
Issue a gateway token

Authorizations

Authorization
string
header
required

Bearer token authentication. Provide your API token prefixed with "Bearer ", e.g. "Bearer your-api-token".

Body

application/json

Sandbox or instance

Sandbox or instance

instanceId
string

InstanceID is an instance's index or UUID.

sandboxId
string
workspaceId
string

WorkspaceID optionally selects the sandbox's workspace; it must match the sandbox's stored ownership.

Response

OK

expiresAt
string
sandboxId
string

SandboxID is the sandbox the token opens; for an instance, its sandbox.

token
string