Search Profiles v2
The Search Profiles endpoint facilitates searching for profiles within the profile database based on their attributes. Utilizing OpenSearch as the underlying database technology, this endpoint accepts requests with OpenSearch domain-specific language (DSL), enabling powerful and flexible search queries.
See OpenSearch Mapping for the Search endpoint.
Search returns 1000 results per page.
Note: Replace "query"
with your OpenSearch DSL query defining the search criteria. The response will contain a list of profile IDs matching the search criteria, that can be later used in the Fetch endpoint
For more examples, refer to Examples.
Pagination
When making requests to the Search endpoint, pagination can be utilized to retrieve large sets of search results efficiently. As shown in the above API response, it will contain a pagination token that should be used in subsequent requests to fetch the next page of results.
Below is an example query that will query the next 5 records using the pagination token: