Search Agent User Profiles

This request searches for Agent User profiles.

   Click here to learn more about this request

❗️

LoanPro is transitioning from Elasticsearch to OpenSearch.

For more information, including timelines and a guide for ensuring your integrations continue to work as intended, see OpenSearch Migration ↗

Agent User profiles represent the users who have access to your LoanPro environment. This request uses OpenSearch to search for Agent User profiles stored within your environment.

For an example of how Agent Users are created within the UI, take a look at our Agent Users article.

Sample Payloads

{
    "query": {
        "bool": {
            "must": [
                {
                    "bool": {
                        "should": [
                            {
                                "query_string": {
                                    "query": "*John*",
                                    "fields": [
                                        "firstName",
                                        "lastName",
                                        "fullName",
                                        "userName"
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "match": {
                        "tenantActiveStatus": "1"
                    }
                }
            ]
        }
    }
}
Language
Credentials
Click Try It! to start a request and see the response here!