---
title: "add new language (Auth policies: ganjoor:translations)"
method: POST
path: "/api/translations/languages"
tags: ["Translation"]
---

# add new language (Auth policies: ganjoor:translations)

`POST /api/translations/languages`

## Request body

- GanjoorLanguage — Language or system of writing for translating poems
  - `id` integer — id
  - `name` string, nullable — name
  - `code` string, nullable — code
  - `nativeName` string, nullable — native name
  - `rightToLeft` boolean — is right to left
  - `description` string, nullable — description

## Response `200`

OK

- GanjoorLanguage — Language or system of writing for translating poems
  - `id` integer — id
  - `name` string, nullable — name
  - `code` string, nullable — code
  - `nativeName` string, nullable — native name
  - `rightToLeft` boolean — is right to left
  - `description` string, nullable — description

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/ganjoor/apis/rmuseum-api.md) · [All operations](https://skmtc.net/ganjoor/apis/rmuseum-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ganjoor/rmuseum-api/versions/bb8e104d36d2/schema)
