Skip to main content
POST
Upload a document

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

caseId
string<uuid>
required

Case UUID

Body

multipart/form-data
file
file
required

File to upload (max 50 MB)

docrioCategory
string

Optional. When a firm that received one of the case's referrals keeps its documents in Docrio (Litify Docs), the copy sent to that firm's Docrio is filed under this category. Must match one of that firm's synced categories exactly (400 invalid_docrio_category otherwise). Omit it to leave the Docrio category blank. Ignored when no firm that received a referral uses Docrio, including when only the sending firm does.

Maximum string length: 255

Response

Uploaded document metadata

data
object
required
meta
object
required