Read (GET) Contacts Associated with a Contact

Use this API to read all contacts associated with a contact in the Contacts hub.

To get all contacts associated with a specified contact:

Execute a GET command on the endpoint {{url}}/contact/{{FromContactID}}/contact

For example, using cURL to submit the GET request, here is an example of how to get all contacts associated with a contact:

curl --request GET \
  --url 'https://{{url}}/contact/{{FromContactID}}/contact' \
  --header 'authorization: Bearer {{oauth_token}}' \
  --header 'content-type: application/json'

The call returns one JSON structure like the following for each contact associated with the specified FromContactID in the Contacts hub. Double quotes in the returned JSON indicate that the field has no data.

{
        "FromContactID": "FROMCONTACTID4567890123456789012",
        "ContactID": "CONTACTID01234567890123456789012",
        "ToContactID": "TOCONTACTID234567890123456789012",
        "Name": "Chris Thomas",
        "Relationship": "02",
        "Description": "System qualified",
        "CreateUser": "LoggedInUserWhoCreated",
        "CreateDate": "2017-12-09T20:26:29.173",
        "ModUser": "LoggedInUserWhoChanged",
        "ModDate": "2017-12-09T20:26:29.173"
    }