---
title: "Set Preferred Language"
method: PUT
path: "/api/me/language"
---

# Set Preferred Language

`PUT /api/me/language`

## Request

- Base URL: `https://api.mednode.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mednode.in/api/me/language`
- Auth: HTTP bearer

Set the patient's spoken language.

An explicit correction here outranks anything detection learned, and is the
only reliable fix for the eight languages Deepgram cannot identify — the
first voice note from a new Tamil or Bengali speaker has nothing to go on.

## Request body

- PreferredLanguageRequest
  - `language_code` string, required

## Response `200`

Successful Response

- MeResponse
  - `id` integer, required
  - `email` string, nullable
  - `phone` string, nullable
  - `full_name` string, nullable
  - `date_of_birth` string, date, nullable
  - `gender` string, nullable
  - `created_at` string, date-time, required
  - `is_2fa_enabled` boolean
  - `avatar_url` string, nullable
  - `phone_verified` boolean
  - `email_verified` boolean
  - `preferred_language` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mednode/apis/mednode-ai-api.md) · [All operations](https://skmtc.dev/mednode/apis/mednode-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mednode/apis/mednode-ai-api/revisions/7e0b84effd6e?raw)
