API find email address, or search?

@RGJ you are right! It does work!!! Something with my Postman requests tests are broken. :frowning:

However with SuperAgent request such as:

let res = await superagent.get(`${this.baseUrl}/admin/users/list/active`)
          .query({show_emails: true})
          .set('Api-Key', this.apiKey)
          .set('Api-Username', this.defaultDiscourseUser)
          .set('Content-Type', 'application/json')
          .set('Accept', 'application/json')

I was able to get the emails.

My apologies, however it would be nice to have an API request that simply returns true/false if an email exists, for now I’m pulling all users (a response that is a little heavy since it returns all user info) while all I want is to verify if the email exists - in fact I just want a true/false from Discourse if the user has logged in there first before coming to our site.