Skip to main content
POST
Create a sent case

Authorizations

X-API-Key
string
header
required

Public API key (starts with cxp_). 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
county
string | null
clientEmail
string<email>
clientPhone
string
clientDateOfBirth
string<date> | null
incidentDate
string<date> | null
tier
integer | null
Required range: 1 <= x <= 5
source
string
notes
string
referentFirmId
string<uuid>

Receiving firm. Omit to create a DRAFT.

routingRuleId
string<uuid>

Optional. Routing rule this send was chosen from (from GET /routing/evaluate). Ignored (with a server-side warning) if it is not a live rule owned by your firm.

roundRobinPosition
integer

Optional. The roundRobinPosition from GET /routing/evaluate. Requires routingRuleId; advances the rule's round-robin pointer.

Required range: x >= 0
isRetainerSigned
boolean
default:false
salesforceId
string
salesforceObjectType
string
externalSystem
enum<string>
Available options:
cloudlex,
morgan_morgan
externalId
string

Response

Created sent case

data
object
required

A case from the sender (owning firm) perspective, with all of its referrals.

meta
object
required