---
title: "Set target language for live translations"
method: POST
path: "/ocs/v2.php/apps/spreed/api/{apiVersion}/live-transcription/{token}/target-language"
tags: ["live_transcription"]
---

# Set target language for live translations

`POST /ocs/v2.php/apps/spreed/api/{apiVersion}/live-transcription/{token}/target-language`

Each participant can set the language in which they want to receive the translations.
Setting the target language is possible only during a call and immediately enables the translations. Translations can be disabled by sending a null value as the language id.
translations are not supported.

## Path parameters

- `apiVersion` 'v1', required
- `token` string, required

## Headers

- `OCS-APIRequest` boolean, required

## Request body

- object
  - `targetLanguageId` string, required — the ID of the language to set

## Response `200`

Target language set successfully

- object
  - `ocs` object, required
    - `meta` OCSMeta, required
      - `status` string, required
      - `statuscode` integer, required
      - `message` string
      - `totalitems` string
      - `itemsperpage` string
    - `data` unknown, required

## Other responses

- `400` — The conversation is classified

## Changes

- **2026-07-16** `a2b2faeb5c3f` — 1 warning
  - added the new `classified` enum value to the `ocs/data/error` response property for the response status `400`
- **2026-01-15** `0fdcfb70d8c1` — 1 info
  - endpoint added
- **2026-01-15** `340d639dc432` — 1 breaking
  - api path removed without deprecation
- **2026-01-08** `a9e2f30bec7d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/nextcloud/apis/spreed-full/changes/ocs/v2.php/apps/spreed/api/:apiVersion/live-transcription/:token/target-language/post.md)

---

[API](https://skmtc.dev/nextcloud/apis/spreed-full.md) · [All operations](https://skmtc.dev/nextcloud/apis/spreed-full/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nextcloud/spreed-full/revisions/41d6458d6d6e/schema)
