cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
180
Views
5
Helpful
1
Replies
Highlighted
Beginner

UCCE Finesse get current user

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
Highlighted
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
Highlighted
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