WebSocketStreamingHandshakeGETwss://api.assemblyai.com/v2/realtime/wsHeadersAuthenticationstringOptionalQuery parameterssample_rateintegerOptionalThe sample rate of the streamed audioword_booststringOptionalAdd up to 2500 characters of custom vocabulary. The parameter value must be a JSON encoded array of strings.encodingenumOptionalThe encoding of the audio data Allowed values: pcm_s16lepcm_mulawtokenstringOptionalAuthenticate using a generated temporary tokendisable_partial_transcriptsbooleanOptionalSet to true to not receive partial transcripts. Defaults to false.enable_extra_session_informationbooleanOptionalSet to true to receive the SessionInformation message before the session ends. Defaults to false.SendabcAudio DatastringORTerminate SessionobjectShow propertyORForce End UtteranceobjectShow propertyORConfigure End Utterance Silence ThresholdobjectShow propertyReceiveSession BeginsobjectShow 3 propertiesORPartial TranscriptobjectShow 7 propertiesORFinal TranscriptobjectShow 9 propertiesORSession InformationobjectShow 2 propertiesORSession TerminatedobjectShow propertyORRealtime ErrorobjectShow property
Add up to 2500 characters of custom vocabulary. The parameter value must be a JSON encoded array of strings.