# Use the API to find a username based on an email?

**URL:** <https://meta.discourse.org/t/use-the-api-to-find-a-username-based-on-an-email/45424>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [June 8, 2016, 9:50am UTC](https://meta.discourse.org/t/use-the-api-to-find-a-username-based-on-an-email/45424 "2016-06-08T09:50:22Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)\
**Post date:** [June 8, 2016, 9:50am UTC](https://meta.discourse.org/t/use-the-api-to-find-a-username-based-on-an-email/45424/1 "2016-06-08T09:50:22Z")

</div>

I’m trying to integrate a Discourse forum into an existing site.

Is it possible via the API to find out what a user’s username is, if all I have is their email?

---

_[View the full topic](https://meta.discourse.org/t/use-the-api-to-find-a-username-based-on-an-email/45424)._
