Hi all
Using POST https://api.hubapi.com/crm/v3/objects/contacts/search
and the payload below, I experience different hubspot behaviours depending on the HS account I use. On the first acocunt, it correctly finds and returns the “real_contact_email@gmail.com” result, even though the other emails don’t exist, however on the second account it returns no results. If I remove the emails that don’t exist, leaving just the one that does, it then works. Both api keys have same permissions.
Can anyone suggest why this is happening?
{
"limit": 200,
"associations": ["deals"],
"properties": ["email", "hs_additional_emails"],
"filters": [
{
"propertyName": "hs_additional_emails",
"operator": "IN",
"values": ["real_contact_email@gmail.com", "non_existent_email1@gmail.com", "non_existent_email2@gmail.com"]
}
]
}
HS account 1 details:
{
"portalId": <ID>,
"accountType": "STANDARD",
"timeZone": "Europe/London",
"companyCurrency": "GBP",
"additionalCurrencies": [],
"utcOffset": "+01:00",
"utcOffsetMilliseconds": 3600000,
"uiDomain": "app.hubspot.com",
"dataHostingLocation": "na1"
}
HS account 2 details:
{
"portalId": <ID>,
"accountType": "STANDARD",
"timeZone": "Europe/London",
"companyCurrency": "GBP",
"additionalCurrencies": [
"USD"
],
"utcOffset": "+01:00",
"utcOffsetMilliseconds": 3600000,
"uiDomain": "app-eu1.hubspot.com",
"dataHostingLocation": "eu1"
}
This is driving me crazy, any help much appreciated.