---
title: "Upsert Translation"
method: POST
path: "/admin/translations/upsert"
tags: ["Translations"]
---

# Upsert Translation

`POST /admin/translations/upsert`

## Request

- Base URL: `https://api.thaiprops.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thaiprops.com/admin/translations/upsert`
- Auth: none declared

## Request body

- TranslationUpsertIn
  - `lang_code` string, required
  - `translation_key` string, required
  - `source_text` string
  - `translated_text` string
  - `namespace` string
  - `is_auto` boolean
  - `ui_context` object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api.md) · [All operations](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/revisions/acaced1e12a2?raw)
