Send the client’s details as a whole, as you read them with your change made. A detail you leave out is cleared, apart from your own fields: those you leave out stay as they are, and one you send blank is cleared. A person’s reference never changes.
What to send
versionnumber Required- The version you read. If it’s changed since, you get a 409.
namestring Required- Their full name, or the business’s name. Up to 200 characters.
referencestring- Your own reference for them. Left out, they get the next one in your numbering.
external_refstring- Their id in the system you’re sending from, so you can find them again.
emailstring- Their email address.
phonestring- A phone number, written however you like.
addressobject- The address, line by line: line1, line2, town, postcode.
company_numberstring- For a business, its company number.
ownerstring- Who looks after the client, as a user_id from List seats.
customobject- Your firm’s own fields, by their id from List fields.
archivedboolean- true to archive the client, false to bring them back.
curl -X PUT "https://api.torlie.com/desk/clients/cli_01jd4m2x8r6tq9w3e5y7u1i0pa" \
-H "Authorization: Bearer $TORLIE_KEY" \
-H "Content-Type: application/json" \
-d '{
"version": 1,
"name": "Morag Henderson",
"email": "[email protected]",
"phone": "07700 900123",
"address": {
"line1": "14 Marchmont Road",
"town": "Edinburgh",
"postcode": "EH9 1HY"
}
}'What comes back
The client as it’s now saved, with its new version.
{
"id": "cli_01jd4m2x8r6tq9w3e5y7u1i0pa",
"kind": "person",
"name": "Morag Henderson",
"reference": "HEN001",
"external_ref": "enquiry-2291",
"email": "[email protected]",
"phone": "07700 900123",
"address": {
"line1": "14 Marchmont Road",
"town": "Edinburgh",
"postcode": "EH9 1HY"
},
"company_number": null,
"owner": "user_01jcz6a9s2d5f8g1h4j7k0l3z6",
"aml": {
"id_checked": false,
"id_link": null,
"risk": null,
"checked_by": null,
"checked_at": null
},
"created_at": "2026-11-22T10:14:03Z",
"archived": false,
"version": 2,
"open_matters": 0,
"signatures_on_file": 0,
"last_activity": "2026-11-22T10:14:03Z",
"streams": [],
"custom": {}
}