Auth0 search passwordless SMS user management API

Feature: User search immediate consistent API for passwordless sms accounts and linked accounts

Description: We are using Auth0 passwordless SMS as our primary authentication factor. The auth0 forms is being used to create passwordless email account only if user is registering for the first time. Once it is created, I link email account with primary sms account using Link API in flows.

For the same forms, I have one step wherein, I check whether entered email_id by user is already present or not using below API endpoint:

https://dev-login.xx.com/api/v2/users?q=identities.profileData.email:“{{fields.get_email}}” OR email:“{{fields.get_email}}”

Everything works fine. One day I observed the reindexing issue on my production tenant and above endpoint was not providing latest information.

I was told by Auth0 team that this endpoint is eventually consistent but there is no other endpoint which will serve my need to check whether the user email account is present or not.

I have verified /user_by_email endpoint but it only responds if I have passwordless email primary account not SMS.

Use-case: Search passwordless sms user account via immediate consistent management API like get user_by_email. Additionally user account should be searchable if it is linked with any other account