voice-control
voice-control

Set Translation State

Set the translator's whole state in ONE write.

Everything an armed mode implies — the MT engine pin, the TTS mute that matches the mode, releasing a held engine — is derived from the intent by build_translation_patch, so a caller cannot express half of it. Prefer this over /mode + /mute-tts + /languages for any user-facing control.

post/api/voice/translation/{call_id}/state

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/voice/translation/{call_id}/state
  • Auth: none declared

Path parameters

call_idstring required

Request body

modestring nullable required

'off' | 'silent' | 'voice', or null to clear the per-call override and fall back to the saved config.

primary_langstring nullable

Spoken target language to switch to in the same action. Omit to keep the current one.

call_silentboolean nullable

Meet-mix-only mute: synthesis still runs and app listeners still hear it. Omit to leave as-is.

Response

Successful Response

pausedboolean
tts_mutedboolean
call_tts_mutedboolean
transcription_pausedboolean
agent_disabledboolean
target_lang_overridestring nullable
statestring nullable
configured_statestring nullable
suppressed_bystring nullable
speaksboolean nullable
run_mtboolean nullable
show_subtitleboolean nullable
play_ttsboolean nullable
armed_bystring nullable
agent_session_activeboolean
app_target_langsstring[] nullable

Changes

No recorded changes to this operation across all 5 revisions of this API.