Find persons by email not working

Hello!

I just tried the https://developers.pipedrive.com/docs/api/v1/#!/Persons/get_persons_find method.

Our usecase is to find a person by email, so we used term=EMAIL_ADDRESS and search_by_email=1

The API is not returning any associated email.

Hey @baptistejamin, I just tested it on my end and it worked fine. Are you sure you’re matching the email beginning correctly to find the person?
For example, if you have the email ‘train@train.com’, train@tr would find the person, but rain@train.com wouldn’t.