Where can I see when was the last time a given Slack user logged in?
-
1I think you can see it in the user logs at [my].slack.com/admin/log - however it isn't available on free plans so I can't verify– John CMay 31, 2018 at 1:13
-
@JohnC thanks, I have a paid plan but I'm not admin, and it looks like accessing [my].slack.com/admin/log requires being admin. You're welcome to convert your comment into an answer.– Franck DernoncourtMay 31, 2018 at 1:19
1 Answer
To get the last time a user logged in, take a look at the API method team.accessLogs
. It will give you the timestamp of the last login for every user (date_last).
Note that this API method works for paid plans only.
See also my other answer on Stack Overflow.
-
Erik's comment is correct except that it is only for paid plans. If you attempt this with a free plan you will get the following response: { "ok": false, "error": "paid_only" }– SteveSep 28, 2018 at 15:14
-
@Steve Thanks for your feedback. You are correct and I will update my answer accordingly. Sep 29, 2018 at 10:05