Hello,
I recommend the same API endpoint that Elisson mentioned - i.e. POST /api/v2/users/search
Just adding how to filter/search by email address on top of this:
{
"sortOrder": "ASC",
"pageSize": 100,
"pageNumber": 1,
"sortBy": "id",
"query": [
{
"values": [
"active",
"inactive",
"deleted"
],
"fields": [
"state"
],
"type": "EXACT"
},
{
"values": [
"THE_EMAIL_ADDRESS_TO_SEARCH_AGAINST"
],
"operator": "AND",
"type": "EXACT",
"fields": [
"email"
]
}
]
}
Regards,
------------------------------
Jerome Saint-Marc
Senior Development Support Engineer
------------------------------