Skip to main content
POST
Translate a call transcript
Integration Prompt for AI Agents
This endpoint allows you to translate all utterances in a simulation or production conversation transcript to a specified target language using Google Translate API.

Headers

X-Organization-Id
string
X-API-Key
string
required

API key required to authenticate requests.

Body

application/json

Translate a simulation transcript by providing the simulation result ID

simulation_result_id
integer
required

ID of the simulation result (test_result) to translate

target_language
string
default:en

Target language code (e.g., 'en', 'es', 'fr', 'de'). Defaults to 'en' (English).

Required string length: 2 - 10

Response

Successful Response

Response model for translated transcript.

translated_transcript_url
string
required

URL to the translated transcript file

target_language
string
required

The target language used for translation

success
boolean
default:true

Whether the translation was successful