Can you use multiple email addresses in Find users REST API

Hi Iragudo!! it is possible to add more than email address?? will appreciate if you can help me out, need to look for multiple email address so I can get the account id.

Welcome to the Atlassian Developer Community, @sivianimadrigal!

The Find users REST API accepts a query query parameter which only accepts one email address or display name at a time.

For this use case, I can think of two approaches:

  1. Iterate over the email address list that you have and call Find users, or
  2. Use Get all users REST API to get and match the email addresses in your app code

Depending on the number of email addresses you are searching for, as well as the total number of users the instance has, you can try either of the approaches.


1 Like