How do I generate a user's last login date list?

Question

How do I export a list or report of the last login date of my users in my Zendesk Support account?

Answer

There are several options you can use to generate a list of users' last login dates.

API: Use the Zendesk API Users endpoint

JSON export

In Admin Center navigate to Account > Tools > Reports and select User under Full JSON export. This report is automatically emailed to your agent email.

In the JSON user export file, the object last_login_at is listed with the user data. For more information, see Exporting data to a JSON, CSV, or XML file.

Explore report: Create a report using any of the Time since user login metrics. For more information, see Metrics and attributes for Zendesk Support.

Customer lists: See Creating and using customer lists. Make sure to modify the list to include the Last sign-in column or any other attributes.