I’m using the HubSpot CRM API to search for companies by domain, which works fine for the primary domain. However, I need to find companies based on their secondary or additional domains.
Is there a way to search for a company using a secondary domain via the HubSpot API? If not, what are the best practices or workarounds for finding companies by these secondary domains?
HubSpot’s API primarily supports searching companies by their primary domain, and there isn’t a direct way to search by secondary or additional domains via the standard API endpoints. However, you can employ some workarounds to achieve your goal:
1. Store Secondary Domains in a Custom Property
2. Retrieve All Companies and Filter Locally
I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!