---
title: "Import Csv"
method: POST
path: "/v1/projects/{project_id}/csv/import"
tags: ["csv"]
---

# Import Csv

`POST /v1/projects/{project_id}/csv/import`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/projects/{project_id}/csv/import`
- Auth: none declared

Import a translation CSV. Rows grouped by (namespace, key, language); a
plural key = its plural_category rows. Unknown key/namespace/language and
placeholder mismatches are REPORTED (not silently applied). strict=true
rejects the whole import if any error.

## Path parameters

- `project_id` string, required

## Request body

- CsvImportIn
  - `csv` string, required
  - `version` string, nullable
  - `delimiter` string
  - `strict` boolean
  - `create_missing` boolean

## Response `200`

Successful Response

- CsvImportReport
  - `project_uuid` string, required
  - `applied` integer
  - `created` integer
  - `updated` integer
  - `unchanged` integer
  - `skipped` integer
  - `warnings` string[]
  - `errors` object[]

## Other responses

- `422`: Validation Error

---

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