Get or change a contact

Read one person or organisation, with the matters they’re on, and update them.

GET /desk/contacts/people/{contact_id}

Organisations work the same way at /desk/contacts/organisations/{organisation_id}. A person’s id starts with dct_, an organisation’s with dor_.

Request
curl "https://api.torlie.com/desk/contacts/people/dct_01jd4p2k7m3n9b5v1c8x6z4l2q" \
  -H "Authorization: Bearer $TORLIE_KEY"

What comes back

The contact and the matters they’re on.

Response 200 OK
{
  "contact": {
    "id": "dct_01jd4p2k7m3n9b5v1c8x6z4l2q",
    "name": "Euan Baird",
    "organisation_id": "dor_01jd4p0a3s6d9f2g5h8j1k4l7m",
    "organisation_name": "Baird & Co Estate Agents",
    "job_title": "Branch manager",
    "email": "[email protected]",
    "phone": "0131 496 0123",
    "notes": null,
    "archived": false,
    "version": 1,
    "created_at": "2026-11-22T11:02:17Z",
    "matters": 0,
    "custom": {}
  },
  "matters": []
}

Change one

PUT to the same address with the details as a whole and the version you read, as for a client. Send archived: true to archive them.

Request
curl -X PUT "https://api.torlie.com/desk/contacts/people/dct_01jd4p2k7m3n9b5v1c8x6z4l2q" \
  -H "Authorization: Bearer $TORLIE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "version": 1,
    "name": "Euan Baird",
    "organisation_id": "dor_01jd4p0a3s6d9f2g5h8j1k4l7m",
    "job_title": "Director",
    "email": "[email protected]"
  }'