How to get user by email via api

How can I get a user by email, instead of username in the API?

1 Like

This: Discourse API Docs


  • flag: active, new, staff, suspended, blocked, suspect
  • Using the filter query param with email value.

Iā€™m not sure why the filter param is not listed on the documentation though.


It lists only 100 users (seems like order of newly created ), If we have more than 100 users overall and user we want to fetch is not in list of those 100 users then this method is not capable of fetching results or I am missing something ?

Please suggest !

You can get other pages with &page=<number>.

1 Like