# Is there a way to get all emails of users with the API?

**URL:** <https://meta.discourse.org/t/is-there-a-way-to-get-all-emails-of-users-with-the-api/131077>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [October 15, 2019, 4:57pm UTC](https://meta.discourse.org/t/is-there-a-way-to-get-all-emails-of-users-with-the-api/131077 "2019-10-15T16:57:12Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![alank](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@alank](https://meta.discourse.org/u/alank)\
**Post date:** [October 15, 2019, 4:57pm UTC](https://meta.discourse.org/t/is-there-a-way-to-get-all-emails-of-users-with-the-api/131077/1 "2019-10-15T16:57:13Z")

</div>

I’ve seen this link: [Is there a way to get a user email adress from the API?](https://meta.discourse.org/t/is-there-a-way-to-get-a-user-email-adress-from-the-api/90637)

However we need to verify in a different service, using the Discourse API, if an email exists on the Discourse site. We can search for username or name via `/u/search/users.json`, but these do not appear to return the email address.

So can you search or query all emails for comparison?

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-way-to-get-all-emails-of-users-with-the-api/131077)._
