List contacts

Your address book: the other side, agents, lenders and everyone else you deal with.

GET /desk/contacts

Contacts are the people and organisations you work with who aren’t clients. The list holds both, organisations first where a name matches.

q string
Words to look for in a name, organisation, job title or email.
party organisation | person
Only organisations, or only people.
kind string
Only organisations of one kind: law_firm, estate_agent, lender, surveyor, broker, pension_scheme, administrator, employer, introducer, accountant or other.
role string
Only contacts who’ve been on a matter in this role, such as Selling agent.
archived boolean
true for archived contacts 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/contacts?q=baird" \
  -H "Authorization: Bearer $TORLIE_KEY"

What comes back

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

Response 200 OK
{
  "entries": [
    {
      "id": "dor_01jd4p0a3s6d9f2g5h8j1k4l7m",
      "party": "organisation",
      "name": "Baird & Co Estate Agents",
      "kind": "estate_agent",
      "organisation_id": null,
      "organisation_name": null,
      "job_title": null,
      "email": "[email protected]",
      "phone": "0131 496 0100",
      "archived": false,
      "roles": [],
      "matters": 0
    },
    {
      "id": "dct_01jd4p2k7m3n9b5v1c8x6z4l2q",
      "party": "person",
      "name": "Euan Baird",
      "kind": "estate_agent",
      "organisation_id": "dor_01jd4p0a3s6d9f2g5h8j1k4l7m",
      "organisation_name": "Baird & Co Estate Agents",
      "job_title": "Branch manager",
      "email": "[email protected]",
      "phone": "0131 496 0123",
      "archived": false,
      "roles": [],
      "matters": 0
    }
  ],
  "next_cursor": null
}