Skip to main content
POST
/
matters
/
v1
/
{id}
/
parties
Attach party to matter
curl --request POST \
  --url https://api.case.dev/matters/v1/{id}/parties \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "party_id": "<string>",
  "role": "client",
  "is_primary": true,
  "notes": "<string>",
  "metadata": {},
  "custom_fields": {},
  "set_as_client": true
}
'

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Body

application/json
party_id
string
required
role
enum<string>
required
Available options:
client,
prospect,
opposing_party,
opposing_counsel,
co_counsel,
judge,
expert,
witness,
vendor,
insurer,
other
is_primary
boolean
notes
string | null
metadata
object
custom_fields
object
set_as_client
boolean

Response

201

Matter party attached