cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
696
Views
5
Helpful
1
Replies

UCCE Finesse get current user

NickLynch35638
Level 1
Level 1

Is there a way to get the ID of the user in Finesse when I only have a bearer token for authorization? I don't see anything like /finesse/api/User/me. The bearer token is from Cisco Identity Service so I can't use return_user=yes in /desktop/sso/token.

1 Accepted Solution

Accepted Solutions

dekwan
Cisco Employee
Cisco Employee

Hi,

 

If you ONLY have the bearer token and nothing else (like the agent username), then there is no way to get the agent Id. If you have the agent username and need to get the agent Id to use for the APIs, then you can use the GET user id from loginname: https://developer.cisco.com/docs/finesse/#!userget-user-id-from-loginname

 

Thanx,

Denise

View solution in original post

1 Reply 1

dekwan
Cisco Employee
Cisco Employee

Hi,

 

If you ONLY have the bearer token and nothing else (like the agent username), then there is no way to get the agent Id. If you have the agent username and need to get the agent Id to use for the APIs, then you can use the GET user id from loginname: https://developer.cisco.com/docs/finesse/#!userget-user-id-from-loginname

 

Thanx,

Denise