Skip to main content
POST
Create a case

Authorizations

X-API-Key
string
header
required

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

Body

application/json
title
string
required
Minimum string length: 1
caseType
string
required
Minimum string length: 1
jurisdiction
string
required
Minimum string length: 1
clientFirstName
string
required
Minimum string length: 1
clientLastName
string
required
Minimum string length: 1
description
string
caseCounty
string | null

The case's county inside its jurisdiction; routing rules match on it. Looked up from casePostalCode, then clientPostalCode, when the sender does not supply it.

casePostalCode
string | null

Zip of the case's own location. Used to look up caseCounty.

Maximum string length: 20
county
string | null

The client's home county, looked up from clientPostalCode when the sender does not supply it. Send caseCounty (or the zips) for routing; this value is used as the case county only when neither gives one. Masked for the receiving firm until it acknowledges.

clientPostalCode
string | null

Used to look up county, and caseCounty when casePostalCode is absent or in another state.

Maximum string length: 20
clientEmail
string<email>
clientPhone
string
clientDateOfBirth
string<date> | null
incidentDate
string<date> | null
referentFirmId
string<uuid>
notes
string
source
string
sentExpirationHours
integer | null

Business hours this referral may stay SENT (unacknowledged) before it is flagged as needing an update and the sending firm is emailed; the status does not change. Overrides the sending firm's default; applies only when the sending firm has referral expiration turned on.

Required range: x >= 1
isRetainerSigned
boolean
default:false
allowDuplicateClient
boolean
default:false

Send even though your firm already referred this client to the same receiving firm from another case of the same case type (409 duplicate_client_referral). Set it only after confirming this is a separate matter; each override is audited.

tier
integer | null

Sender-assigned case rating: potential damages, 5 = largest and highest priority, 1 = smallest and lowest. Distinct from the API key access tier.

Required range: 1 <= x <= 5
customFields
object[]

Custom field values to save with the case. Each fieldId must be a field of the case's case type (GET /case-types/{id}/fields); otherwise the request is rejected with 400.

Response

Created case

data
object
required

A referral as seen by either party (the public API calls a referral a "case" on this path). Base-case fields are flattened onto the referral. Client fields are masked for the receiving firm while the case is SENT, and after it was withdrawn or expired directly from SENT without being acknowledged.

meta
object
required