Read (GET) Links Associated with a Contact

Use this API to read links associated with a contact from the Contacts hub.

To read links associated with a contact:

Execute a GET command on the endpoint {{url}}/contact/<ID>/links, where ID is the identifier of the contact for the links you want to read.

For example, here is a request, using cURL, to get contact ID when the variable is set to CONTACTID1055448531338.

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

The call returns the JSON representation for each of the link objects associated to the contact, for example:

[
    {
        "LinkID": "27aab397efbd40e5b8b95cf9b3948f82",
        "ContactID": "CONTACTID1055448531338",
        "Description": "Deltek Main Website",
        "FilePath": "https://www.deltek.com/en/",
        "Graphic": "N"
    },
    {
        "LinkID": "4b1cd8c4b1b04460bbf4bd2708454a59",
        "ContactID": "CONTACTID1055448531338",
        "Description": "Logo",
        "FilePath": "https://searchengineland.com/figz/wp-content/seloads/2015/12/google-amp-fast-speed-travel-ss-1920.jpg",
        "Graphic": "Y"
    },
    {
        "LinkID": "08b44d0c71244d339e8dff2de537588b",
        "ContactID": "CONTACTID1055448531338",
        "Description": "Postman Blog",
        "FilePath": "http://blog.getpostman.com/",
        "Graphic": "N"
    }
]