Each contact on the matter comes with the role they’re there in, such as Selling agent or Lender.
curl "https://api.torlie.com/desk/matters/mat_01jd4n7c2v5b8n1m4k6j9h3g2f/contacts" \
-H "Authorization: Bearer $TORLIE_KEY"What comes back
{
"contacts": [
{
"party_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",
"role": "Selling agent"
}
]
}