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

/admin/users/list/{flag}.json?filter={email}

  • 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.

2 Likes