Two perspectives
The Public API exposes every case through the lens of the firm holding the API key:
- Sent Cases — cases your firm created and sent to another firm (sender perspective).
- Received Referrals — referrals another firm sent to you (receiver perspective).
Both perspectives share the same underlying data, but each returns only the fields and actions relevant to that role. See the endpoint examples for full request/response details:
Objects
- Case — Primary record containing title, jurisdiction, case type, and client details.
- Referral — A case handoff from a sending firm to a receiving firm. A single case can have multiple referrals (re-referrals), each with its own status and lifecycle.
- Base Case — The canonical case shared across all of its referrals.
Statuses
Every referral progresses through a defined set of statuses. The full enum is:
Closing status
When a referral reaches a terminal state through the close action, a closingStatus is required:
Status flow
Use the GET /sent-cases/{id}/available-statuses or GET /received-referrals/{id}/available-statuses endpoint to discover which transitions are valid for the current state before attempting a status change.
Permissions
- Sending firm — Owns initial case creation. Can edit sender-owned fields (
tier, source) after the case is sent. Can withdraw a referral.
- Receiving firm — Can update notes, financial estimates, phase, lead attorney, and other referral fields after acknowledgment. Can reject, advance, or close a referral.
- Both firms — Can read case details and referral status history through their respective perspective endpoints.
Refer and re-refer logic
A referral is created when a sending firm sends a draft case to a receiving firm.
POST /sent-cases/{id}/refer sends a draft case to a receiving firm or creates a new referral on an existing case (re-refer). Each new referral receives an incremented sequenceNumber.
- Only the sending firm (owner of the base case) can refer or re-refer.
- An active network relationship between the sending and receiving firms is required.
- The referrals sub-resource (
/cases/{baseCaseId}/referrals) provides granular lifecycle actions on individual referrals: acknowledge, begin-investigating, sign, start-litigation, close, reject, and withdraw.
Common field glossary
Fields that appear across case and referral responses:
clientFeeAgreementPercentage uses a 0-1 scale while sendingFirmPercentage uses a 0-100 scale. This matches the OpenAPI spec constraints.
Error handling
All error responses follow a consistent envelope with error.code, error.message, and meta.requestId. See Error Handling for the full error code reference table, status code guide, and troubleshooting patterns.