Recent searches


No recent searches

How to get the agent info in Application.

Answered


Posted Feb 07, 2022

i am developing a zendesk application using Zendesk Application Framework. I want to get the agent data/agent id of the currently logged in agent for that instance of application in a application. how can i get it using client object.
in short what i want to is to fill the custom field along with the id of agent who filled it using Zendesk application.


0

2

2 comments

image avatar

Chris Sos

Zendesk Product Manager

Hi there,

If you're in support:

client.get('currentUser')

Is what you're looking for. This will return information on the user interacting with the app in Support. More details can be found here: https://developer.zendesk.com/api-reference/apps/apps-support-api/all_locations/#get-5

Hope this helps!

0


Thank you so much.

 

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post