Recherches récentes


Pas de recherche récente

How to get the agent info in Application.

Avec réponse


Publication le 07 févr. 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 commentaire

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


Vous devez vous connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication