Constituent search by email API returns the same contact with different ids?

Something like this “/constituent/v1/constituents/search?search_text=email@domain.com&search_field=email_address” always returns multiple versions of the same contact, but with different ids. I notice that only one of them has "is_constituent = true". What are the others and how do I filter them out?

Comments

  • Val Kuppuswamy
    Val Kuppuswamy Blackbaud Employee
    Ninth Anniversary Kudos 1 Name Dropper Participant

    Hi Wayne, searching by email address includes non-constituents by default. If you know the lookup_id of a constituent, you can use search_field = lookup_id and search_text = <lookup_id_value> to search for a specific constituent. Currently, searching by constit_id is not supported. Hope that helps.

Categories