Sec-WebSocket-Protocol as SukiAmbientAuth,<sdp_suki_token>,<session_id> with the token before the session ID. Use ambient_session_id for Ambient (/ws/stream) or transcription_session_id for Dictation (/ws/transcribe). Do not use SukiTranscriptionAuth.
This cookbook assumes you already have a valid
sdp_suki_token and an open ambient or Dictation session ID.- TypeScript
- Python
Common mistakes
- Put the session ID before the token in the protocol string.
- Use
SukiTranscriptionAuthfor Dictation. Both products useSukiAmbientAuth.