AI Assistant Voice Configuration

Configure voice-specific settings for assistants with assistant_type set to voice.

Endpoint

PATCH
/ai-assistants/:id

Request

Response

json

Voice Configuration Fields

FieldTypeDescription
acting_user_idNumber or nullUser used for voice assistant write actions. If omitted or null, the creator/default user is used
telnyx_ai_assistant_config.sync_statusStringSet to pending after changing voice settings so the configuration can sync
telnyx_ai_assistant_config.voice_runtimeStringRuntime used by the voice assistant. UI values include telnyx_builtin, custom_llm, and openai_realtime_sip
telnyx_ai_assistant_config.use_custom_llmBooleanWhether the assistant uses a custom LLM runtime
telnyx_ai_assistant_config.modelStringTelnyx built-in model ID, such as openai/gpt-4.1
telnyx_ai_assistant_config.openai_realtime_modelStringOpenAI realtime model when using the realtime SIP runtime
telnyx_ai_assistant_config.greetingStringInitial spoken greeting
telnyx_ai_assistant_config.voice_providerStringTTS provider, such as telnyx, elevenlabs, aws, azure, rime, resemble, minimax, or inworld
telnyx_ai_assistant_config.voice_provider_modelString or nullProvider-specific voice model
telnyx_ai_assistant_config.voice_idStringProvider voice ID
telnyx_ai_assistant_config.voice_nameStringDisplay name for the selected voice
telnyx_ai_assistant_config.voice_modelStringFull selected voice identifier
telnyx_ai_assistant_config.voice_api_keyStringProvider API key when required by the selected TTS provider
telnyx_ai_assistant_config.voice_api_key_refStringStored provider key reference returned by the system
telnyx_ai_assistant_config.voice_speedNumberSpeech speed multiplier
telnyx_ai_assistant_config.voice_language_boostStringLanguage boost, such as English or Spanish
telnyx_ai_assistant_config.voice_expressive_modeBooleanWhether expressive mode is enabled for supported voices
telnyx_ai_assistant_config.voice_similarity_boostNumberElevenLabs similarity boost
telnyx_ai_assistant_config.voice_styleNumberElevenLabs style value
telnyx_ai_assistant_config.voice_use_speaker_boostBooleanElevenLabs speaker boost
telnyx_ai_assistant_config.background_audioObject or nullBackground audio settings
telnyx_ai_assistant_config.transcription_modelStringSpeech-to-text model
telnyx_ai_assistant_config.transcription_languageStringLanguage code or auto
telnyx_ai_assistant_config.speaking_wait_secondsNumberMinimum wait before speaking
telnyx_ai_assistant_config.speaking_on_punctuation_secondsNumberWait after punctuation
telnyx_ai_assistant_config.speaking_on_no_punctuation_secondsNumberWait when no punctuation is detected
telnyx_ai_assistant_config.speaking_on_number_secondsNumberWait around numbers
telnyx_ai_assistant_config.interruption_enableBooleanWhether callers can interrupt the assistant
telnyx_ai_assistant_config.transfer_from_numberString or nullCompany number used for external transfers when company caller ID is selected
telnyx_ai_assistant_config.external_transfer_caller_id_modeStringoriginal_caller or company_number
telnyx_ai_assistant_config.widget_settingsObject or nullEmbedded web widget appearance settings

Background Audio

json

Accepted type values used by the configuration UI are:

TypeDescription
predefined_mediaUse a predefined background audio option, such as silence or office
media_urlUse a public audio URL

Web Widget Settings

json

When the voice assistant has a synced Telnyx assistant ID, embed it on your website with:

html

External Voice Handoff

Voice assistants can transfer calls to external numbers or SIP URIs through external_handoff_targets on the assistant and caller ID fields inside telnyx_ai_assistant_config.

List Telnyx Built-in Models

GET
/telnyx-ai-models

List Transcription Languages

GET
/telnyx-ai-transcription-languages

List or Load Voices

GET
/telnyx-ai-voices

Some providers can require an API key before voices are loaded. Use

POST
/telnyx-ai-voices when you need to load provider voices with provider-specific credentials.

Sync From Telnyx

GET
/ai-assistants/:id

Use this endpoint after external Telnyx changes when you want to refresh the stored voice configuration.

Report an issue with this documentation

Please log in to report issues with our documentation.