AgentTimeline | Community
Skip to main content

AgentTimeline

  • March 28, 2021
  • 3 replies
  • 0 views

Hello

I've started using the API to download our agent's activities (agent timeline).

https://developer.zendesk.com/rest_api/docs/chat/incremental_export#incremental-agent-timeline-export

However I'm finding out that that have agent_ids missing from my reference table built from - https://developer.zendesk.com/rest_api/docs/chat/agents#list-agents

Maybe the agents were deleted? I'm not sure as to why I don't have the agents in the agent lists.

Also are these the same (agent list from chats API and Users from Support API) ? Checked the data seemed so, however if someone can confirm please

https://developer.zendesk.com/rest_api/docs/chat/agents#list-agents

https://developer.zendesk.com/rest_api/docs/support/users ("agent", or "admin")

Regards

Brian

 

This topic has been closed for replies.

3 replies

Greg29
  • March 29, 2021

Hi Brian! If I'm understanding this correctly, the issue that you're seeing is that you have agent IDs that show up in your historical incremental exports, but are not showing up on your current list of Chat agents?

If that's the case, there are a couple of reasons that this could be happening, off the top of my head:

  • Agent role changes so that they are no longer chat agents
  • Agents being removed

If I misunderstood the issue, just let me know a bit more about what's going on and we'll get this sorted out for you!


Hi Greg

Thanks for your reply. It must be that the agents have been removed then since the account on Zendesk has been open from 2018 and people changed.

Just one last question, If I download a list of agents from the chats API, and another one from the Support API using the below, should I still get the same agent_id for the same person? I'm hoping yes. Our agents both do chats and tickets.

https://developer.zendesk.com/rest_api/docs/chat/agents#list-agents

https://developer.zendesk.com/rest_api/docs/support/users ("agent", or "admin")

 

Regards

Brian


Greg29
  • March 31, 2021

Glad that helped! 

Regarding your other question, since you mentioned that your instance was created in 2018, the answer is yes, they will be the same. You can check for the agent's role_type to confirm whether or not they are also chat agents. There is also an object for chat_only, which is for legacy accounts created prior to your instance, so you can ignore that value as it will not apply.