---
title: "Load a batch of CRM export rows into an import"
method: POST
path: "/v1/parties/directory/imports/{id}/rows"
tags: ["Contract Party Management"]
---

# Load a batch of CRM export rows into an import

`POST /v1/parties/directory/imports/{id}/rows`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/parties/directory/imports/{id}/rows`
- Auth: HTTP bearer

Up to 2,000 rows of one kind per call, as exported. `map` names which export column feeds which entry field; without it the column headers of a Dynamics export are used. A row whose id was sent before replaces its earlier copy; rows without an id or a usable name, and contacts listed twice at one company, are skipped and counted by reason. Needs a person with the `ingest` permission.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `kind` 'company' | 'contact', required
  - `rows` object[], required
  - `map` object: Entry field to export column header.
    - `external_id` string
    - `display_name` string
    - `name2` string
    - `first_name` string
    - `last_name` string
    - `position` string
    - `company_name` string
    - `street` string
    - `postcode` string
    - `town` string
    - `country` string
    - `phone` string
    - `email` string
    - `website` string
    - `parent_name` string
    - `segment` string

## Response `201`

What was stored and skipped.

- object
  - `stored` integer
  - `skipped` object: Rows skipped per reason.
    - `no_id` integer
    - `no_name` integer
    - `email_as_name` integer
    - `not_a_name` integer
    - `duplicate` integer

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The key lacks the `write` scope, or its person lacks the `ingest` permission.
- `404`: The requested resource was not found.
- `409`: The import is no longer loading (active, replaced or failed).

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/parties/directory/imports/:id/rows/post.md)

---

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