About this endpoint
What it does
Submits a text translation job for asynchronous processing. Send the text content and optional translation guidance in the request body; the response returns a job identifier you can use to track the job.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| content | String | Yes | Provide the content to translate. |
| context | String | No | Provide additional context to the translated text, such as use case examples or additional explanations. |
| language | String | No | Specify the language of the content which needs to be translated. For example: German. |
| voice_tone | String | No | Specify the voice tone of the output. It can be adjectives like funny or joyous, or even the name of a famous writer. |
Response
Returns a JSON object with a job_id string field — the identifier for the submitted translation job.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| job_id | String | Yes | Job identifier returned after the translation job is submitted. |
Notes
This endpoint kicks off an async job and returns immediately with a job identifier; the actual work runs in the background. Pair this call with the corresponding job_check endpoint — poll that until the status reaches a terminal state to retrieve the result. Extract the job identifier from job_id.