API endpoint for contact's domain


I am creating new contacts from intercom to hubspot through zapier, and then in hubspot new deals will be created through workflow. Now we have a problem that if there is already a deal associated to that contact or to the domain of the contact, the deal should not be created! To do that I need an endpoint which gives me the domain of the contact (I assume). But can not find such an endpoint in the API documentation. I appreciate your help.



Hi @Bahar,

I’m not sure I know what you mean when you say the ‘domain’ of the contact. You can see which deals are associated with a particular contact or company using the Get Associated Deals endpoint, which sounds like what you’re trying to accomplish?