Change a matter

Rename it, move it on a stage, or hand it to someone else.

PUT /desk/matters/{matter_id}

Send only what changes, with the version you read. Send null to clear a detail.

What to send

version number Required
The version you read. If it’s changed since, you get a 409.
title string
A new title.
stage_id string
Move it to this stage of its work stream.
owner string | null
Hand it to this user_id.
type_label string | null
A finer label inside the work stream.
external_ref string | null
Its id in your other system.
reference string
A new matter reference.
source string | null
Where the work came from.
Request
curl -X PUT "https://api.torlie.com/desk/matters/mat_01jd4n7c2v5b8n1m4k6j9h3g2f" \
  -H "Authorization: Bearer $TORLIE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "version": 1,
    "stage_id": "stg_01jcz8q3w6e9r2t5y8u1i4o7p2"
  }'

What comes back

The matter as it’s now saved.

Response 200 OK
{
  "id": "mat_01jd4n7c2v5b8n1m4k6j9h3g2f",
  "reference": "HEN001-0001",
  "external_ref": null,
  "title": "Purchase of 14 Marchmont Road",
  "type_label": null,
  "client_id": "cli_01jd4m2x8r6tq9w3e5y7u1i0pa",
  "client_name": "Morag Henderson",
  "client_kind": "person",
  "stream_id": "wst_01jcz8q3w6e9r2t5y8u1i4o7p0",
  "stream_name": "Residential purchase",
  "stage": {
    "id": "stg_01jcz8q3w6e9r2t5y8u1i4o7p2",
    "name": "Searches"
  },
  "stage_index": 1,
  "stage_count": 6,
  "owner": "user_01jcz6a9s2d5f8g1h4j7k0l3z6",
  "next_date": null,
  "opened_at": "2026-11-22T10:20:41Z",
  "closed_at": null,
  "version": 2,
  "documents": 0,
  "source": "Website enquiry"
}