getContacts
Get a list of Messaging and phone contacts and contact types.
This method is called when Messaging transfer or speed dial is clicked to get the rep’s contacts.
getContacts(filter, workItemId) → Promise.<ContactsResult>
Returns: ContactsResult — Represents the result when getting a list of Messaging or phone contacts.
| Field | Type | Description |
|---|---|---|
| filter | ContactsFilter | Criteria used to limit contact results by search term and contact type. Required: No |
| workItemId | string | The work item ID associated with the transfer or conference action. Required: No |