Skip to main content

SearchDirectoryEntriesRequest

Properties

NameTypeRequiredDescription
search_stringstrString value to filter the contacts. The value specified is searched through the following fields: firstName, lastName, extensionNumber, phoneNumber, email, jobTitle, department, customFieldValue
search_fieldsList[SearchFields]The list of field to be searched for
show_federatedboolIf true then contacts of all accounts in federation are returned, if it is in federation, account section will be returned. If false then only contacts of the current account are returned, and account section is eliminated in this case
show_admin_only_contactsboolShould show AdminOnly Contacts
extension_typeSearchDirectoryContactTypeType of directory contact to filter
site_idstrInternal identifier of the business site to which extensions belong
show_external_contactsboolAllows to control whether External (Hybrid) contacts should be returned in the response or not
account_idsList[str]The list of Internal identifiers of an accounts
departmentstrDepartment
site_idsList[str]The list of Internal identifiers of the business sites to which extensions belong
extension_statusesList[ExtensionStatuses]Extension current state.
extension_typesList[SearchDirectoryExtensionType]Types of extension to filter the contacts
order_byList[OrderBy]Sorting settings
pageint
per_pageint

SearchFields

Properties

NameTypeRequiredDescription
FIRSTNAMEstr"firstName"
LASTNAMEstr"lastName"
EXTENSIONNUMBERstr"extensionNumber"
PHONENUMBERstr"phoneNumber"
EMAILstr"email"
JOBTITLEstr"jobTitle"
DEPARTMENTstr"department"
CUSTOMFIELDVALUEstr"customFieldValue"

ExtensionStatuses

Properties

NameTypeRequiredDescription
ENABLEDstr"Enabled"
DISABLEDstr"Disabled"
NOTACTIVATEDstr"NotActivated"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →