Creates an instance of AddressBook
The Webex SDK instance
Function to get the addressBookId from agent profile
Private
getPrivate
metricsPrivate
pagePrivate
webexPrivate
webexFetches address book entries for a specific address book using the entry API
Optional
params: AddressBookEntrySearchParams = {}Search and pagination parameters including addressBookId
Promise resolving to address book entries
If the API call fails
// Get entries from agent's default address book
const response = await addressBookAPI.getEntries();
// Get entries from a specific address book with pagination
const response = await addressBookAPI.getEntries({
addressBookId: 'addressBookId123',
page: 0,
pageSize: 25
});
AddressBook API class for managing Webex Contact Center address book entries. Provides functionality to fetch address book entries using the entry API.
AddressBook
Example