Hello,
When you search for a contact in Architect, there are three possible scenarios.
1- The search criteria finds a single contact (the best case scenario).
2- You get more than one external contact.
3- The contact does not exist.
For scenario 1, you only need to obtain the communication ID and conversation ID, and then associate the conversation with the external contact ID. This is achieved using the following APIs: /api/v2/externalcontacts/conversations/conversationid, where the fields to be passed in the Json body would be ExternalId, conversationID, CommunicatioID, mediatype.
For scenario 2, you must review it for business logic issues, and scenario 3 may be similar to case 1, with the variation that you must first add the contact and then perform the steps in scenario 1.
I hope this brief description is helpful.
Best regards
------------------------------
Daniel Rodriguez
------------------------------