Hi there, I encountered this situation where a contact is not searchable unless using the primary email of the contact. Is not possible to find a contact by any email associated using de API? The body of the request I using is this one:
{ "filterGroups": [ { "filters": [ { "propertyName": "email", "operator": "EQ", "value": "" } ] } ] }
Hi @Egoi ,
You will also need to include the property hs_additional_emails in your search call, so update your body to something like this:
{ "filterGroups": [ { "filters": [ { "value": "((email))", "propertyName": "hs_additional_emails", "operator": "CONTAINS_TOKEN" } ] }, { "filters": [ { "value": "((email))", "propertyName": "email", "operator": "EQ" } ] } ] }
Thank you! Worked like a charm
Awesome!