# How do I get a list of all users from the API?

**URL:** <https://meta.discourse.org/t/how-do-i-get-a-list-of-all-users-from-the-api/24261>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [21 Gennaio 2015, 9:34am UTC](https://meta.discourse.org/t/how-do-i-get-a-list-of-all-users-from-the-api/24261 "2015-01-21T09:34:11Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [12 Agosto 2021, 7:20pm UTC](https://meta.discourse.org/t/how-do-i-get-a-list-of-all-users-from-the-api/24261/18 "2021-08-12T19:20:03Z")

</div>

> [@Fares\_Droubi1](#):
>
> Esiste un flag per ottenere tutti gli utenti?

Utilizzando il flag “new” invece di “active” dovresti ottenere TUTTI gli utenti. Ordina semplicemente per “created” in ordine crescente e otterrai tutti gli utenti dal più vecchio al più recente. Dovrai comunque utilizzare la paginazione per recuperare tutti gli utenti, altrimenti la richiesta potrebbe diventare troppo grande se hai molti utenti.

```plaintext
/admin/users/list/new?asc=true&order=created&page=0

```

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-get-a-list-of-all-users-from-the-api/24261)._
