Users Lookup
Search users by emails, ids or username.
Last updated
Was this helpful?
Search users by emails, ids or username.
Last updated
Was this helpful?
The caller can specify whether to search locally (within the caller's company) or globally across companies that have enabled external communications.
To search for external users, the parameter local
needs to be set as false and the service account has to be enabled externally. To do so, make sure at least one of the two following external entitlements are enabled, otherwise, the search will return zero results.
• Can chat in external IMs
• Can chat in private external rooms
By default, searches are performed externally. Set local=true
to search locally.
The following fields are stripped for external users that don't have an established connection with you:
Email address
Location
Title
The service account is allowed to search for users using their registered email even without having a previous connection with them.
When calling this as an OBO-enabled endpoint, use the OBO User Authenticate token for sessionToken
.
🚧 Rules & Limitations
Please note that the endpoint returns only the first 1000 entries.
📘 NoteSearch list sizes: search lists may contain up to 100 elements. Inactive users: the results will include inactive users. Account type: the
accountType
field returnsNORMAL
if the user is a user account andSYSTEM
if the user is a service account. User department, location, title and email: thedepartment
,location
,title
andemailAddress
fields are returned only if the user is an internal user of the current pod. When searching between cross-pods, these fields will not be returned.
/v3/users
User IDs as a list of decimal integers separated by comma
List of email addresses separated by comma
List of username separated by comma
If true then a local DB search will be performed and only local pod users will be returned. If absent or false then a directory search will be performed and users from other pods who are visible to the calling user will also be returned.
If not set all user status will be returned, if true all active users will be returned, if false all inactive users will be returned
Session authentication token.