# Get contacts by emails /api/contacts

**URL:** <https://forum.mautic.org/t/get-contacts-by-emails-api-contacts/24762>\
**Category:** Product Support\
**Tags:** mautic-3\
**Created:** [July 13, 2022, 9:51pm UTC](https://forum.mautic.org/t/get-contacts-by-emails-api-contacts/24762 "2022-07-13T21:51:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremyd85](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jeremyd85/32/6405_2.png) [@jeremyd85](https://forum.mautic.org/u/jeremyd85)\
**Post date:** [July 13, 2022, 9:51pm UTC](https://forum.mautic.org/t/get-contacts-by-emails-api-contacts/24762/1 "2022-07-13T21:51:09Z")

</div>

My Mautic version is: v3.2.4  
My PHP version is: 7.3.30  
My Database type and version is: MySQL version N/A

My problem is:  
I am trying to get a list of contacts by their emails from the REST API (using python). The endpoint in the documentation that seemed most relevant was here: [Mautic Developer Documentation](https://developer.mautic.org/#list-contacts). Under Advanced filtering, there seemed like what I needed only switching phone to email in the query.

All variations that I have tried using where and search parameters haven’t worked as expected. It usually returns 0 contacts when I can visually verify they exist on the website.
