Read (GET) Custom Tables Associated with a Contact

Use this API to read custom tables associated with a contact in the Contacts hub.

To get custom table data associated with a specified contact:

Execute a GET command on the endpoint {{url}}/contact/<ID>/customTable/{{CustomTable}} where ID is the ID of the contact you want to retrieve CustomTable data.

For example, here is a request submitted using cURL:

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

A successful GET returns the JSON representation of the custom table data, for example:

[ 
   {
        "CustfieldfortestingTouchCRM": "",
        "custNewsletter": "Y",
        "custTEST1": "",
        "custCorporateList": "Y",
        "custPromotional": "Y",
        "desc_custMarket": "Educational",
        "custMarket": "Educational",
        "custPersonal": "Married with three children.
        His Wife's name is Emily. Enjoys playing golf.",
        "custBirthDate": "",
        "custGolf": "N",
        "custSpouseName": "",
        "custTennis": "N"
   }
]