CTI Web Services API

API Overview

The Five9 Computer-Telephony Integration (CTI) Web Services API provides developers access to telephony controls and sophisticated call center functionality that can be leveraged by applications via the Simple Object Access Protocol (SOAP). As part of the Five9 Agent Desktop Toolkit, the CTI Web Services API can connect the Five9 web-based softphone to other business applications used by call center agents, such as home-grown CRM solutions, billing or order entry systems, and agent scripting applications.

The Five9 Agent Desktop Toolkit is comprised of two client-side components:

  • Five9 CTI Web Services
  • Five9 Softphone Web Toolbar

Download API Documentation

 

API Methods

MethodDescription
AGENT
loginPerforms synchronous log-in to VCC
loginAsyncPerforms asynchronous log-in to VCC
logoutPerforms log-out from VCC
logoutAndExitPerforms log-out from VCC and shutdown CTI Webservices
changePasswordChanges password for currently logged-in user
restartStationRestarts station
setReadyStateSets current ready state
setNotReadyStateSets not-ready state
CALL
disconnectCallDisconnects current call
finishCallSet disposition to current call (disconnects first if active)
makeCallInitiates new call
recordCallStart call recording
toggleHoldEnables/disables call hold
sendDTMFSends DTMF tones during active call (only available for softphone)
removeConferenceParticipantDisconnects one of conference participant
TRANSFER
transferCallTransfer call
completeTransferCompletes warm transfer
cancelTransferCancels warm transfer
CONFERENCE
cancelConferenceCancel warm conference
addToConferenceAdds party to a conference
completeConferenceCompletes warm conference
conferenceInStarts conference
leaveConferenceCreator leaves conference (other parties aren’t disconnected)
PARK CALL
parkCallParks current call
parkConferenceParticipantParks conference participant
retreiveCallRetrieves parked call
PREVIEW CALL
makePreviewCallInitiate preview call
skipPreviewCallSkips preview call
getPreviewSkipDispositionsRetrieves preview call disposition list
endPreviewCallSets disposition on preview call
renewPreviewCallRenews preview call
CALLBACKS
getCallbacksRetrieves callbacks list
addCallbackSaves new callback
removeCallbackRemoves callback
updateCallbackUpdates callback information
snoozeCallbackSnoozes callback for a while
dismissCallbackDismisses callback for this session
resetRemindedCallbackReset dismissed callback
RECORDINGS (PERSONAL VOICEMAILS)
playRecordingPlays recording
removeRecordingRemoves recording
stopPlayingRecordingStops player
requestRecordingsRequest recordings list
resetGreetingResets previously set greeting
uploadGreetingUploads greeting to VCC
SCRIPT AND WORKSHEETS
requestScriptRetrieves script for current campaign
requestWorksheetRetrieves worksheet for current campaign
saveWorksheetAnswersSaves worksheet answers
CONNECTORS
requestConnectorsRequest manual connectors
processConnectorInitiate connector
openBrowserOpens web-browser with required URL
SOFTPHONE
softphoneHangupPhoneHangs up softphone
softphonePickupPhonePicks up softphone
getSoftphoneInputDevicesRetrieves system input devices
getSoftphoneOutputDevicesRetrieves system output devices
getSoftphoneDevicesRetrieves softphone devices configuration
setSoftphoneDevicesSets softphone devices configuration
getSoftphoneSpeakerVolumeRetrieves softphone speaker volume
setSoftphoneSpeakerVolumeSets softphone speaker volume
getSoftphoneMicrophoneLevelRetrieves softphone microphone level
setSoftphoneMicrophoneLevelSets softphone microphone level
getSoftphoneMicrophoneAgcRetrieves softphone auto gain
setSoftphoneMicrophoneAgcSets softphone auto gain
setSoftphoneAutoHangupSets auto-hangup mode for softphone
getSoftphoneAutoHangupChecks auto-hangup mode for softphone
DATA OBJECTS
getAgentPermissionsRetrieves agent permissions
getAvailableSkillsRetrieves agent skills
getAvailableCampaignsRetrieves agent campaigns
getCampaignInfoRetrieves campaign info
getAvailableAgentsRetrieves agent list
getAgentInfoRetrieves agent info
getCampaignDispositionsRetrieves disposition list for campaign
getReasonCodesRetrieves logout reason codes list
getNotReadyReasonCodesRetrieves not-ready reason codes list
getStatusRetrieves current agent status
getUserDetailsRetrieves user details
getVersionRetrieves component version
EVENT HANDLING
addListenerRegisters new listener
removeListenerRemoves already registered listener
checkEventChecks if new event is available
MISCELLANEOUS
getSpeedDialsRetrieves speed dial numbers
addNumberToDncAdds number to DNC list
playFilePlays audio file

 

Additional API Details

Five9 CTI Web Services communicates with the Five9 Virtual Call Center (VCC) via Java Remote Method Invocation (RMI). It relays requests such as login/logout, ready/not ready, initiate/terminate call, answer call, hold/retrieve call, query queued voicemails or callbacks, assign call disposition, etc. to the VCC, and distributes events back to the CTI Web Services clients.

The Five9 Softphone Web Toolbar is a web browser plug-in which can be enabled while browsing any web site. This toolbar is a CTI Web Services client which also incorporates a softphone. The toolbar implements telephony controls, in addition to Five9 call center functionality: login/logout, ready/not ready, call disposition, call logs, call recording, access to voicemails, callbacks, scripts, worksheets. This toolbar can be customized, and can work in conjunction with other CTI Web Services clients. The toolbar registers to receive Five9 VCC events, hence its status gets updated upon actions by other CTI Web Services clients. The use of the toolbar is optional. Developers may decide to completely handle telephony controls and call center functionality through their own application and forgo the use of the Five9 Web toolbar.