# Use API to get mail address for given username

**URL:** <https://meta.discourse.org/t/use-api-to-get-mail-address-for-given-username/47872>\
**Category:** Product Support\
**Created:** [27 يوليو 2016، 5:17م UTC](https://meta.discourse.org/t/use-api-to-get-mail-address-for-given-username/47872 "2016-07-27T17:17:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [27 يوليو 2016، 5:39م UTC](https://meta.discourse.org/t/use-api-to-get-mail-address-for-given-username/47872/2 "2016-07-27T17:39:29Z")

</div>

Have you tried to `PUT /users/<username>/emails.json`?

---

_[View the full topic](https://meta.discourse.org/t/use-api-to-get-mail-address-for-given-username/47872)._
