API information to fetch user's details e.g. First Login Date

In the Asana dashboard, you can export the user’s list as CSV file and in that CSV file, you can find a lot of details about users e.g. Email, Name, First Login Date, Last Activity Time, etc.

We need the field “First Login Time” to be retrieved through API. I have tried adding “first_login_time” in opt_fields but it is not working, I do not know if the field name is incorrect or what the issue is.

The question is, is it possible to retrieve these details through API?


Hi @Irfan_Hasani and welcome to the forum!

That info is not available on the user object in the API.

Login data is available via the Audit Log API.

Note that the Audit Log API is only available at the Enterprise subscription level.