Translate a live caption line into the agent's reading language
Translates a single settled caller caption line into the agent’s chosen reading language for the softphone live-caption pane, and persists the bilingual pair onto the call’s QM transcript record. Only settled caller finals are sent by the softphone; agent lines and partials are never translated. When the caller’s spoken source_language already equals target_language the billable model hop is skipped and the line is echoed back with model:null. Text machine-translation plus an additive transcript write only — outbound voice/SMS is untouched.
Authorizations
Dashboard JWT token from Clerk
Path Parameters
1Body
The settled caption line to translate.
1 - 2000The language the agent wants to read captions in.
en, es, fr, de, hi, it, ja, ko, nl, pt, ru, sv, tr, zh Optional spoken-language hint (the caller's STT language code). When it equals target_language the model hop is skipped and the line is echoed back verbatim.
1 - 16Transcript speaker label (e.g. customer) recorded on the persisted QM segment. Defaults to caller when omitted.
1 - 64