Skip to content

Stored only in your browser. Get one under Tokens.

Issue a ticket for the WebSocket of an SSH session​

POST
/devices/{id}/ssh-sessions/{sid}/ticket

The session's JWT never goes into the WebSocket handshake, where the chosen subprotocol is echoed back
to proxies and HAR files: the client asks for a ticket here and offers it as the subprotocol
"ticket." of GET .../ws. A ticket is bound to its session, lives 30 seconds and is single use;
a new ticket replaces the previous one. Only the session's SHA-256 and expiry are stored.

Authorizations​

ApiKeyAuth
Type
API Key (header: Authorization)

Parameters​

Path Parameters

id*

ID|PRN|NICK

Type
string
Required
sid*

SSH session ID

Type
string
Required

Responses​

Created

application/json
JSON
{
  
"expires_at": "string",
  
"ticket": "string"
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI