/referrals. A referral represents a single case sent from one firm to another and progresses through a defined lifecycle of statuses.
Base URL: https://api.casexchange.com/api/public/v1
Authentication: Pass your API key in the X-API-Key header on every request.
Referral status lifecycle
draft | sent | received | under_evaluation | investigating | signed | in_litigation | closing | won | lost | rejected | withdrawn | closed
Closing status enum values (used when closing):
won_settled | lost | no_longer_pursuing
1. List Referrals
Retrieves the referrals your firm sent or received. Supports pagination and status filtering. Tier:read_only
Response
200 OK:
2. Get Referral
Returns a single referral by UUID. Your firm must be the sending or receiving firm.caseType and clientPhone come from the referral’s parent case. While the referral is sent and your firm is the receiving firm, clientPhone (along with notes, leadAttorneyName and the warm-transfer reason) is null; acknowledge the referral to see it. GET /cases/{id} masks the same phone as ***-***-**** instead of null.
Tier: read_only
200 OK:
3. Update Referral
Updates mutable fields on a referral: notes, phase, financial estimates, dates, and lead attorney. Only the referent (receiving) firm can update notes. Tier:standard
200 OK:
4. Send Referral
Sends adraft referral to the specified receiving firm, transitioning it to sent. Only the referring firm may call this action.
Tier: standard
200 OK:
5. Acknowledge Referral
Acknowledges asent referral, transitioning it to received. Only the receiving (referent) firm may call this action.
Tier: standard
200 OK:
6. Begin Investigating
Transitions areceived referral to investigating. Only the receiving firm may call this action.
Tier: standard
200 OK:
7. Sign Referral
Marks a referral as signed by the client, transitioning it tosigned. Only the receiving firm may call this action.
Tier: standard
200 OK:
8. Start Litigation
Transitions asigned referral to in_litigation. Only the receiving firm may call this action.
Tier: standard
200 OK:
9. Close Referral
Closes a referral with a requiredclosingStatus and optional closureReason. Financial fields (settlementAmount, attorneyFees) can also be supplied in the body. Only the receiving firm may call this action.
Tier: standard
Closing status values: won_settled | lost | no_longer_pursuing
200 OK:
10. Reject Referral
Rejects an incoming referral. Requires areason in the request body. Only the receiving firm may call this action.
Tier: standard
200 OK:
11. Withdraw Referral
Withdraws a previously sent referral. Requires areason in the request body. Only the referring firm may call this action.
Tier: standard
200 OK:
12. Get Referral Status History
Returns all historical status transitions for a referral, ordered chronologically. Each entry includes the status, an optional message, the source of the transition, and who triggered it. Tier:read_only
200 OK:

