hkampen
November 14, 2025, 2:31pm
1
Hi,
this is the search code. I checked it serveral times. A contact with that e-mail address exists, but I get not result:
“filterGroups”: [{“filters”: [{“value”: “harald@example.com ”, “propertyName”: “hs_additional_emails”, “operator”: “CONTAINS_TOKEN”}]}
When I change the propertyName to ‘email’ and value to ‘harald.’, it finds serveral contacts.
Is there an issue with searching for hs_additional_emails?
evaldas
November 14, 2025, 3:24pm
2
Hi @hkampen ,
Looks like you are trying to use CONTAINS_TOKEN with the “hs_additional_emails” property, which is an an enumeration (“select”) and using CONTAINS_TOKEN with these types of properties will probably not work.
Some addtitional information regarding a similar issue from another thread:
https://community.hubspot.com/t5/APIs-Integrations/Use-CONTAINS-TOKEN-to-find-emails-by-sender-domain/m-p/1038529/highlight/true#M76476
hkampen
November 17, 2025, 7:30am
3
Hi @evaldas ,
but EQ doesn’t work either. So I can’t accept the answer as solution.
hkampen
November 17, 2025, 7:42am
4
I was wrong, EQ works:
“filterGroups”: [{“filters”: [{“value”: “harald@example.com ”, “propertyName”: “hs_additional_emails”, “operator”: “EQ”}]}