Skip to main content
PUT
Update a referral

Authorizations

X-API-Key
string
header
required

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

Path Parameters

id
string<uuid>
required

Resource UUID

Body

application/json
notes
string | null
Maximum string length: 10000
leadAttorneyName
string | null
Maximum string length: 500
leadAttorneyEmail
string<email> | null

An email address. Send null to clear; an empty string is rejected.

Maximum string length: 255
handlingTeamName
string | null

Send null to clear.

Maximum string length: 255
handlingTeamEmail
string<email> | null

An email address. Send null to clear; an empty string is rejected.

Maximum string length: 255
statuteOfLimitationsExpiration
string<date> | null

YYYY-MM-DD

clientFeeAgreementPercentage
number | null

Client fee agreement as a FRACTION of the settlement, 0–1 (0.3333 = 33.33%). Not a whole percent — contrast with sendingFirmPercentage.

Required range: 0 <= x <= 1
attorneyFees
number | null

Attorney fees in dollars

Required range: 0 <= x <= 1000000000
estimatedDateOfResolution
string<date> | null

YYYY-MM-DD

estimatedDistributionDate
string<date> | null

YYYY-MM-DD

projectedSettlementAmount
number | null

Projected settlement amount in dollars

Required range: 0 <= x <= 1000000000
phase
string | null
Maximum string length: 200
sendingFirmPercentage
number | null

Referral fee owed to the sending firm as a WHOLE-NUMBER percent of attorney fees (33.33 = 33.33%). Input values strictly between 0 and 1 are rejected as likely fractions; 0 means no fee.

Required range: 0 <= x <= 100
settlementAmount
number | null

Final settlement amount in dollars

Required range: 0 <= x <= 1000000000
payoutType
enum<string> | null
Available options:
lump_sum,
structured,
hybrid,
other
isRetainerSigned
boolean
customFields
object[]

Custom field values to set. Custom fields can only be updated by the receiving firm once the referral is SIGNED or later; otherwise the request is rejected with 403.

Response

Updated referral

data
object
required

A referral as seen by either party. Mostly referral-level fields (financials, resolution, workflow); of the parent case's details only caseType and clientPhone are included — the rest live on the case (GET /cases/{id}). When the caller is the receiving firm and the referral is still SENT (not yet acknowledged), or was withdrawn or expired directly from SENT without being acknowledged, clientPhone, leadAttorneyName, leadAttorneyEmail, handlingTeamName, handlingTeamEmail, warmTransferUnsuccessfulReason, warmTransferUnsuccessfulReasonType and notes are null and customFields is empty. Acknowledging (POST /referrals/{id}/acknowledge) unmasks them.

meta
object
required