Users Lookup
Search users by emails, ids or username.
Request Examples
Search for external users
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 IM/MIMs
• 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
Searching external users by email
The service account is allowed to search for users using their registered email even without having a previous connection with them.
OBO enabled endpoint
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.
Last updated