Finalize closing — transition CLOSING to CLOSED
Second step of the two-step close workflow. Transitions a referral from CLOSING to CLOSED. Required closureReason is written to the case’s closureReason column. Optional reason is written to the status_updates row’s message; when omitted, the message defaults to "Case closed. Reason: ${closureReason}". Only the referent firm may call this endpoint. Returns 400 invalid_state if the referral is not currently in CLOSING status. Tier: FULL.
Authorizations
Public API key (format cxp_<tier>_<body>, tier = ro|std|full). Scoped to a single firm. The firm must have public_api in allowedIntegrations.
Path Parameters
Referral UUID
Body
Formal closure reason. Written to the case record's closureReason column. Required, non-empty. CR/LF characters are stripped server-side.
1 - 5000"Settlement disbursed and matter closed in case management system."
Optional free-text note. Written to the status_updates row generated by the transition. When omitted, the message defaults to using closureReason. CR/LF characters are stripped server-side.
1 - 5000"Final wire received."