Agent API v2 missing AgentID

  • 11 March 2020
  • 1 reply

On the v2 API for View Agent/All Agents, the response doesn't include the Agent ID, only the requester or user ID.

The v1 API returns both. The ID = AgentID and user_id = their requester ID.

Without knowing what the agent id is, I cannot query or update a specific ID.

So I need to pull data using v1 and update using v2.

1 reply

Hi Jarrod,

API v2 returns the user ID and not the agent ID however, we could update or view the agent through the user ID. Agent ID is used only to query tickets assigned to specific agents.


Best Regards,

Team Freshservice