---
title: "Save Ct0 Mapping"
method: POST
path: "/api/schema/ct0-mapping/{upload_id}"
tags: ["Schema Validation", "Schema Validation"]
---

# Save Ct0 Mapping

`POST /api/schema/ct0-mapping/{upload_id}`

## Request

- Base URL: `https://api.dataroia.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dataroia.com/api/schema/ct0-mapping/{upload_id}`
- Auth: none declared

Sauvegarde le mini-mapping colonnes CT0 dans meta.json.
body = {
  entity_type: "companies" | "contacts" | "both",
  companies: {siret: "col", raison_sociale: "col", email: "col",
              telephone: "col", adresse: "col", code_postal: "col",
              ville: "col", adresse_complete: "col"},
  contacts:  {prenom: "col", nom_contact: "col", email: "col",
              telephone: "col", mobile: "col", adresse: "col",
              code_postal: "col", ville: "col", adresse_complete: "col"}
}

## Path parameters

- `upload_id` string, required

## Query parameters

- `token` string, required

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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