cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
243
Views
0
Helpful
1
Replies

FINESSE _Create a New Dialog (Make a Call) API_401 Un Authorized Error

Sinu
Level 1
Level 1

Hi Experts,

My setup is Cisco UCCX 12.5 SU3 ES06

I am using make a call API of Finesse to create new call from agent desktop. for the API authentication I have created a user with supervisor and administrator privileges. So that I can use same authentication details for all the agents. (all the agents belong to same team as supervisor user).

When I call the API to create call from agent desktops, I am getting  401 Un Authorized Error.

https://developer.cisco.com/docs/finesse/dialog%e2%80%94create-a-new-dialog-make-a-call/#dialogcreate-a-new-dialog-make-a-call

API : https://<FQDN>/finesse/api/User/<id>/Dialogs 

Body:

<Dialog>
   <requestedAction>MAKE_CALL</requestedAction>
   <fromAddress>1001001</fromAddress>
   <toAddress>1002002</toAddress>
</Dialog>

  1 Thing I noticed is, If the IPCC extension of the user used for authentication and fromaddres are same then it works. 

However in my requirement, I need to use a single user to authenticate the API to make call from agent extensions when agent use make call button in the CRM page.

1 Reply 1

dhiarumu
Cisco Employee
Cisco Employee

Hi,

Admin privilege agents cannot make call on behalf of other agent's extensions.