Get Agents last login date using API

1 Comments

  • Kai

    Hello,

    You should be able to get the last login information for all agents by calling api/v2/users.json?role=agent endpoint. There is a parameter called last_login_at which will give you the last login date and time of the agents. Unfortunately, we can't get filtered results from search endpoint as last_login_date is not a searchable user property. So, you will have to retrieve all results and filter down by yourself.

    Cheers,

    Korak

    1

Please sign in to leave a comment.

Powered by Zendesk