Skip to main content
Version: v3

Search Users

GET 

/users/search

Search Users

Request

Version stringrequired

API Version

Available optionsv3
companyId stringrequired

Company ID in which the search needs to be performed

query string

The search term for the user is matched based on the user full name, email or phone

skip string

No of results to be skipped before returning the result

Default value:0
limit string

No of results to be limited before returning the result

Default value:25
locationId string

Location ID in which the search needs to be performed

type string

Type of the users to be filtered in the search

role string

Role of the users to be filtered in the search

ids string

List of User IDs to be filtered in the search

sort string

The field on which sort is applied in which the results need to be sorted. Default is based on the first and last name

sortDirection string

The direction in which the results need to be sorted

enabled2waySync boolean

Filter users by whether 2-way sync is enabled

application/json

Successful response

Schema
    usersobject[]

    List of users matching the search criteria

    countnumber

    Total number of users matching the search criteria