# هل من الممكن الحصول على مستخدم من خلال معرفه في Discourse عبر واجهة برمجة التطبيقات Discourse؟

**URL:** <https://meta.discourse.org/t/is-it-possible-to-get-a-user-by-its-discourse-id-from-the-discourse-api/90014>\
**Category:** Product Support\
**Created:** [16 يونيو 2018، 11:14ص UTC](https://meta.discourse.org/t/is-it-possible-to-get-a-user-by-its-discourse-id-from-the-discourse-api/90014 "2018-06-16T11:14:54Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [6 يوليو 2018، 10:07م UTC](https://meta.discourse.org/t/is-it-possible-to-get-a-user-by-its-discourse-id-from-the-discourse-api/90014/3 "2018-07-06T22:07:02Z")

</div>

> [@zogstrip](#):
>
> but I don’t think there’s a route that uses the user id.

There is only one route that works with an id and no username that I know of. (which seems odd to me because usernames can change whereas ids can’t.)

Anyway, it’s a staff-only route, eg.

```plaintext
https://meta.discourse.org/admin/users/174238.json

```

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-get-a-user-by-its-discourse-id-from-the-discourse-api/90014)._
