Filter Users by Email
POST/users/search/filter-by-email
Filter users by company ID, deleted status, and email array
Request
Version stringrequired
API Version
Available options
v3- application/json
- Body
- Example (auto)
Bodyrequired
companyIdstringrequired
Company ID to filter users
emailsstringrequired
Comma-separated list of email addresses to filter users
deletedboolean
Filter deleted users
Default value:
falseskipstring
No of results to be skipped before returning the result
Default value:
0limitstring
No of results to be limited before returning the result
Default value:
25projectionstring
Projection fields to return. Use "all" for all fields, or specify comma-separated field names. Default returns only id and email
{
"companyId": "5DP41231LkQsiKESj6rh",
"deleted": false,
"skip": "1",
"limit": "10",
"projection": "all"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
usersobject[]
List of users matching the search criteria
countnumber
Total number of users matching the search criteria
{
"users": [
{
"id": "0IHuJvc2ofPAAA8GzTRi",
"firstName": "John",
"lastName": "Deo",
}
],
"count": 1231
}