Is there a way to link contacts using the REST API?

I am trying to link contacts using the REST API. I can’t find a function that does it easily? The update contact function has a place for links, but returns this:

‘Relationships can’t be added or removed through this object’

Any ideas?

Justin

Unfortunately, we do not currently have a mechanism for adding links via the REST API. I can pass along your suggestion to our product manager for possible future development, however.

Only way at this point is the data object using tables with the standard api

Hi @John_Borelli - when you say standard, do you mean XML-RPC? There is a documented link function in that API. Does that work, or are you saying I have to directly manipulate tables and the documentation is incorrect?

This post describes how it can be done with the xml-rpc…a bit of a custom approach but it has been done successfully.

1 Like

Hi there!

My advice is you to pay attention to the Data2CRM service. This is, you can get the opportunity to have assistance due to the question. Cause, as I know, its team can help you to link contacts using the REST API, so let them do this task for you.
If you want to discover some more about this service, go directly to
Data2CRM page.

Pleasure to answer you, so I hope, my advice is useful.

Best,
Oleksandra

@Oleksandra_Lukavetsk,

Unfortunately, that is incorrect. Data2CRM does provide functionality, but if it’s a need to use the REST API then linking contacts does not yet exist for that.

John_Borelli,
thank you for notice that! I thought if the problem is through the data migration, the service could be helpful. So, sorry for the false advice.

Has a solution been developed for this request? I am also currently in the need of using the API to update linked contacts. I see Linked Contacts as an option in the Response Sample of the API, but it is not in the Body Sample or the Body Schema.

This has not been done yet.