Skip to content
Last updated

ConnectRequest

Payload Schema

  • command (string, required) Connect message

  • version (integer, required) Protocol version

  • callId (string, required) Unique Call ID

  • serviceId (string, required) Service Unique ID

  • sttLanguage (string, required) BCP-47 language tag used for speech-to-text transcription of the inbound audio.

This is the language set in the SVAML command when the voice relay session was initiated.

  • ttsVoice (string, required) Name of the default voice that will be used when synthesizing speech.

This is the TTS voice name set in the SVAML command when the voice relay session was initiated.

  • interruptionsEnabled (boolean, required) Indicates if automatic interruption on detected speech is enabled for this session.

  • callHeaders (object, required) Arbitrary key/value pairs (header name -> header value).

We'd love to hear from you!
Rate this content: