User Search with Multiple Queries with GET /api/v2/users Endpoint

Problem statement

This article explains how to search users with multiple queries when calling the GET /api/v2/users endpoint using the AND operator.

Solution

To search users with multiple queries when calling the GET /api/v2/users endpoint, we can use the AND operator.

  • For example, to search users with email_verified: false and user_metaata.lang:“en_GB”, the query parameter is user_metadata.lang:"en-GB" AND email_verified:false