---
title: "Ingests shipment records from a CSV file."
method: POST
path: "/ingest/trac/csv"
tags: ["TRACIngest"]
---

# Ingests shipment records from a CSV file.

`POST /ingest/trac/csv`

After choosing a file, you must click the **"Try"** button under the "Test this endpoint" section to upload and process it. 
A result summary will appear below once processing is complete.

## Headers

- `x-api-version` string

## Response `200`

OK

- ProcessingResult
  - `success` boolean
  - `errors` FileError[]
    - `row_num` integer
    - `humanReadableError` string
    - `error` string
    - `description` string
    - `attributes` string[]
  - `validRecordCount` integer
  - `invalidRecordCount` integer

## Other responses

- `400` — Bad Request
- `422` — Unprocessable Content

---

[API](https://skmtc.net/freightwaves/apis/sonar-api.md) · [All operations](https://skmtc.net/freightwaves/apis/sonar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/freightwaves/sonar-api/revisions/3a995f316cda/schema)
