Add a client

Add a person or a business as a client, ready for their first matter.

POST /desk/clients

The client gets the next reference in your firm’s numbering unless you give one. Send an Idempotency-Key, so a retry after a dropped connection doesn’t add them twice.

What to send

kind person | business Required
Whether the client is a person or a business.
name string Required
Their full name, or the business’s name. Up to 200 characters.
reference string
Your own reference for them. Left out, they get the next one in your numbering.
external_ref string
Their id in the system you’re sending from, so you can find them again.
email string
Their email address.
phone string
A phone number, written however you like.
address object
The address, line by line: line1, line2, town, postcode.
company_number string
For a business, its company number.
owner string
Who looks after the client, as a user_id from List seats.
custom object
Your firm’s own fields, by their id from List fields.
Request
curl -X POST "https://api.torlie.com/desk/clients" \
  -H "Authorization: Bearer $TORLIE_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "kind": "person",
    "name": "Morag Henderson",
    "external_ref": "enquiry-2291",
    "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. Keep the id: you’ll need it to open a matter for them.

Response 201 Created
{
  "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": 1,
  "open_matters": 0,
  "signatures_on_file": 0,
  "last_activity": "2026-11-22T10:14:03Z",
  "streams": [],
  "custom": {}
}