# How to get a member by email using API?

**URL:** https://www.patreondevelopers.com/t/how-to-get-a-member-by-email-using-api/5019
**Category:** Friendly Help
**Created:** [December 16, 2021, 3:02am UTC](https://www.patreondevelopers.com/t/how-to-get-a-member-by-email-using-api/5019 "2021-12-16T03:02:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Davigo](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@Davigo](https://www.patreondevelopers.com/u/Davigo)
#### Post date: [December 16, 2021, 3:02am UTC](https://www.patreondevelopers.com/t/how-to-get-a-member-by-email-using-api/5019/1 "2021-12-16T03:02:35Z")

</div>

I want to create a backend function to authenticate a user based on their email.

Is it possible to get a member by email using the API?

I’m using the endpoint **[https://www.patreon.com/api/oauth2/v2/campaigns/{campaign\_id}/members](https://www.patreon.com/api/oauth2/v2/campaigns/%7Bcampaign_id%7D/members)** to get a list of all members, but I want to avoid having to page through them all to find a match. Is there a way to return a specific member by email?

---

<div class="post-metadata">

### Author: ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)
#### Post date: [December 20, 2021, 8:35pm UTC](https://www.patreondevelopers.com/t/how-to-get-a-member-by-email-using-api/5019/2 "2021-12-20T20:35:27Z")

</div>

Try to use relations, includes. You can get the emails for those who have their email verified at [patreon.com](http://patreon.com). Others wont return a value.
