List clients

Find clients by name, reference or email, or read them all.

GET /desk/clients

With no filters you get every client who isn’t archived, newest activity first. Add q to search, the way the search box on the Clients page does.

q string
Words to look for in the name, company number, email or reference.
kind person | business
Only people, or only businesses.
owner string
Only clients one person looks after, by user_id.
stream string
Only clients with an open matter in this work stream, by id.
archived boolean
true for archived clients instead.
limit number
How many to a page, 1 to 200. 50 if left out.
cursor string
The next_cursor from the page before.
Request
curl "https://api.torlie.com/desk/clients?q=henderson&limit=20" \
  -H "Authorization: Bearer $TORLIE_KEY"

What comes back

A page of clients, and the cursor for the next page if there is one.

Response 200 OK
{
  "clients": [
    {
      "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": {}
    }
  ],
  "next_cursor": null
}