---
title: "Import Csv"
method: POST
path: "/api/import/csv"
tags: ["import"]
---

# Import Csv

`POST /api/import/csv`

Import people, companies, and contracts from a CSV file.

column_mapping: JSON string mapping CSV column names → canonical field names.
If empty/default, columns are auto-detected using Attio preset + direct match.

Returns: { created: {...}, updated: int, errors: [...], exclusion_rules_generated: int }

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/rethoric/apis/rethoric-os.md) · [All operations](https://skmtc.dev/rethoric/apis/rethoric-os/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rethoric/rethoric-os/revisions/76b6d39426f6/schema)
