v1

latestOpenAPI 3.0.02026-07-2447166133.5 KB
Contacts

List the conversations associated with a contact

This operation retrieves the conversations associated with a contact

get/contacts/{contactId}/conversations

Path parameters

contactIdstring required

The id of the contact to fetch conversations for

Response

Expected response to a valid request

Example response

{
  "conversations": [
    {
      "apiURL": "https://api.sprucehealth.com/conversations/t_0E5QDJJC03000",
      "appURL": "https://app.sprucehealth.com/org/entity_0D4QABCC06000/thread/t_0E5QDJJC03000",
      "assignedToMemberId": "entity_0D4QABCC06000",
      "associatedContactIds": [
        "entity_0D4QABCC06000"
      ],
      "createdAt": "2020-04-01T00:00:00Z",
      "externalParticipants": [
        {
          "contact": "entity_0D4QABCC06000"
        }
      ],
      "id": "t_0E5QDGJC03000",
      "internalMemberIds": [
        "entity_0D4QABCC06000"
      ],
      "lastMessageAt": "2020-04-01T00:00:00Z",
      "subtitle": "Billing",
      "tags": [
        {
          "id": "tag_0E5QDGJC03000",
          "value": "Smith"
        }
      ],
      "title": "John Doe"
    }
  ]
}