Pesquisas recentes


Sem pesquisas recentes

How to get the agent info in Application.

Respondido


Publicado 07 de fev. de 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 comentários

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


Por favor, entrar para comentar.

Não encontrou o que estava procurando?

Nova publicação