Skip to main content
POST
Mint a short-lived realtime ASR WebSocket token

Headers

x-user-id
string
required

Caller's user ID. Temporary header-based identity; will be replaced by JWT auth.

Body

application/json

Request a capability for one realtime ASR configuration.

credential_id
string
required
Minimum string length: 1
model
string
required
Minimum string length: 1

Response

Successful Response

Short-lived capability accepted by the realtime ASR socket.

token
string
required

Pass as the WebSocket token query.

expires_at
integer
required

Unix timestamp after which the token is refused.