Skip to main content
Update Voice Configuration
curl --request PATCH \
  --url https://{api_endpoint}/api/v1/voice_configurations/{voice_configuration_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "llm_aggregation_timeout_seconds": 123,
  "speech_to_text": {
    "provider": "<string>",
    "watson_stt_config": {
      "api_url": "<string>",
      "model": "<string>",
      "api_key": "<string>",
      "bearer_token": "<string>",
      "end_of_phrase_silence_time": 123,
      "background_audio_suppression": 0.5,
      "language_customization_id": "<string>",
      "inactivity_timeout": 0,
      "profanity_filter": true,
      "smart_formatting": true,
      "speaker_labels": true,
      "redaction": true,
      "low_latency": true,
      "learning_opt_out": true,
      "watson_metadata": "<string>",
      "smart_formatting_version": 1,
      "customization_weight": 0.5,
      "character_insertion_bias": 0
    },
    "emotech_stt_config": {
      "api_url": "<string>",
      "api_key": "<string>",
      "positive_speech_threshold": 123,
      "negative_speech_threshold": 123,
      "partial_interval": 123,
      "silence_threshold": 123
    }
  },
  "text_to_speech": {
    "provider": "<string>",
    "watson_tts_config": {
      "api_url": "<string>",
      "api_key": "<string>",
      "bearer_token": "<string>",
      "voice": "<string>",
      "rate_percentage": 123,
      "pitch_percentage": 123,
      "language": "<string>",
      "customization_id": "<string>",
      "meta_id": "<string>",
      "learning_opt_out": true
    },
    "emotech_tts_config": {
      "api_url": "<string>",
      "api_key": "<string>",
      "voice": "<string>"
    },
    "elevenlabs_tts_config": {
      "model_id": "<string>",
      "voice_id": "<string>",
      "api_key": "<string>",
      "apply_text_normalization": "<string>",
      "language_code": "<string>",
      "optimize_streaming_latency": 123,
      "apply_language_text_normalization": true,
      "pronunciation_dictionary_locators": [
        {}
      ],
      "seed": 123,
      "previous_text": "<string>",
      "next_text": "<string>",
      "voice_settings": {
        "speed": 123,
        "style": 123,
        "stability": 123,
        "similarity_boost": 123,
        "use_speaker_boost": true
      }
    }
  },
  "language": "<string>",
  "additional_languages": {},
  "dtmf_input": {
    "inter_digit_timeout_ms": 123,
    "termination_key": "<string>",
    "maximum_count": 123,
    "ignore_speech": true
  },
  "vad": {
    "enabled": true,
    "provider": "<string>",
    "silero_vad_config": {
      "confidence": 123,
      "start_seconds": 123,
      "stop_seconds": 123,
      "min_volume": 123
    }
  }
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

voice_configuration_id
string<uuid>
required

Body

application/json
name
string | null
Required string length: 1 - 128
llm_aggregation_timeout_seconds
number | null
speech_to_text
object | null
text_to_speech
object | null
language
string | null

Default language code, e.g., 'en-us'

Required string length: 2 - 16
additional_languages
object | null

Additional language configurations keyed by language code

dtmf_input
object | null
vad
object | null

Response

Successful Response

The response is of type any.