# How can I get external\_id from the user object?

**URL:** <https://meta.discourse.org/t/how-can-i-get-external-id-from-the-user-object/147864>\
**Category:** Product Support\
**Created:** [13 באפריל,‏ 2020,‏ 7:46pm UTC](https://meta.discourse.org/t/how-can-i-get-external-id-from-the-user-object/147864 "2020-04-13T19:46:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pnoeric](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pnoeric/32/177144_2.png) [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**Post date:** [13 באפריל,‏ 2020,‏ 7:46pm UTC](https://meta.discourse.org/t/how-can-i-get-external-id-from-the-user-object/147864/1 "2020-04-13T19:46:40Z")

</div>

When I use the API to get the Discourse user object, it works fine, but I don’t see the external\_id included in there. If I have a Discourse user ID or username, how can I get the external\_id from that?

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-get-external-id-from-the-user-object/147864)._
