Skip to main content
POST
Bulk import cases via CSV

Authorizations

X-API-Key
string
header
required

Public API key: cxp_<hex> (firm-scoped) or cxpp_<hex> (provider-scoped). Required on every request.

Body

multipart/form-data
file
file
required

CSV file (max 20 MB)

defaultReferentFirmId
string<uuid>

Receiving firm for rows that do not name one. An empty value is treated as absent.

skipHeaderRow
boolean
default:true

'true' or 'false' as a form field. Whether the first row is the header row naming the columns; default true.

delimiter
string
default:,

Single-character column delimiter; default comma.

Maximum string length: 1
allowDuplicateClient
boolean
default:false

File-level override ('true' or 'false' as a form field). Without it, a row that sends a client your firm already referred to the same receiving firm from another case of the same case type (live, or sent within 7 days of the row's referral date; two cases with different incident dates never match) is reported as a row error with code duplicate_client_referral and details: { matches, overrideField }; the other rows still import.

Response

Import result summary

data
object
required
meta
object
required