# API: recupera tutti gli utenti con informazioni sull'ID esterno

**URL:** https://meta.discourse.org/t/api-fetch-all-users-with-external-id-info/114860
**Category:** Support
**Created:** [12 Aprile 2019, 2:49pm UTC](https://meta.discourse.org/t/api-fetch-all-users-with-external-id-info/114860 "2019-04-12T14:49:53Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![11117](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/11117/32/138218_2.png) [@11117](https://meta.discourse.org/u/11117)
#### Post date: [12 Aprile 2019, 2:49pm UTC](https://meta.discourse.org/t/api-fetch-all-users-with-external-id-info/114860/1 "2019-04-12T14:49:53Z")

</div>

Hello,  
Is there a way to fetch all users so the result for each one contains the external id ?  
Didn’t find this on API documentation page, but maybe i missed something 😀

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [12 Aprile 2019, 4:17pm UTC](https://meta.discourse.org/t/api-fetch-all-users-with-external-id-info/114860/2 "2019-04-12T16:17:24Z")

</div>

Did you try the export in the Admin \> Users page?

---

<div class="post-metadata">

### Author: ![11117](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/11117/32/138218_2.png) [@11117](https://meta.discourse.org/u/11117)
#### Post date: [15 Aprile 2019, 10:20am UTC](https://meta.discourse.org/t/api-fetch-all-users-with-external-id-info/114860/3 "2019-04-15T10:20:29Z")

</div>

Thank you for the reply! It works.  
So, there is no way to do this using api request, only by Discourse UI ?

---

<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: [7 Maggio 2019, 9:22am UTC](https://meta.discourse.org/t/api-fetch-all-users-with-external-id-info/114860/4 "2019-05-07T09:22:21Z")

</div>

Everything you do with the UI can be done via the API.

> [@Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576):
>
> Discourse is backed by a complete JSON api. Anything you can do on the site you can also do using the JSON api. The API is documented at [docs.discourse.org](https://docs.discourse.org). You can also use the [discourse\_api](https://github.com/discourse/discourse_api) Ruby gem as a client library. However, not every endpoint is documented. To determine how to do something with the JSON API here are some steps you can follow. Example: recategorize a topic. Go to a topic and start editing a category: Open Chrome dev tools, switch to the Network tab, select …

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2 Settembre 2022, 9:38pm UTC](https://meta.discourse.org/t/api-fetch-all-users-with-external-id-info/114860/5 "2022-09-02T21:38:36Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2 Settembre 2022, 9:48pm UTC](https://meta.discourse.org/t/api-fetch-all-users-with-external-id-info/114860/6 "2022-09-02T21:48:56Z")

</div>


