Skip to main content
POST
Mint a WebSocket auth ticket

Authorizations

Authorization
string
header
required

Device credential issued from the Humain admin panel under Kiosk → Credentials → Issue new credential.

Format: hk_live_ (production) or hk_test_ (sandbox) followed by 43 base64url characters (32 random bytes). The raw token is shown only once at creation time and is never stored in plain text.

Path Parameters

sid
string<uuid>
required

Session UUID returned by POST /v1/sessions

Example:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

Response

Ticket issued

ticket
string

Single-use ticket. Pass as ?ticket= on the WebSocket upgrade URL.

expires_in
integer

Seconds until the ticket expires if unused (default 30s).