wss://api.wisprflow.ai/api/v1/dash/ws?api_key=<YOUR_API_KEY>
Client auth endpoint (Recommended): wss://api.wisprflow.ai/api/v1/dash/client_ws?client_key=<CLIENT_KEY>
We recommend using the client endpoint with client-side authentication to connect directly to our servers to lower latency.
TYPE | DESCRIPTION | Example |
---|---|---|
auth | Authenticates the client with the server | { "type": "auth", "access_token": "..." } |
append | Sends a chunk of audio data and (optionally) metadata to the server | { "type": "append", "audio": "...chunk_audio...", "position": 0 } |
commit | Mark the end of audio | { "type": "commit", "total_packets": 284 } |
"auth"
message.
append
messages, the third append message must have position: 8
final: true
:
byte_encoding: "binary"
in the append messages.