Slack – see when was the last time a given Slack user logged in
slack
Where can I see when was the last time a given Slack user logged in?
Best 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.
Thanks for getting in touch about this. Unfortunately, we don’t have a built-in way for you to handle getting notified when a certain user sends a message.
However, this may be handled if you build a Slack app to monitor the channel and notify you as needed. If you're interested, then you can get started here:
https://api.slack.com/slack-apps
That site will walk you through the various integration points we have available, along with details about the requirements for submitting your app for inclusion in the directory.
I'll also mention this as a feature request to the team and hopefully they'll take this into consideration, but I can't make any guarantees. Thanks for your understanding here.
So Slack doesn't support it, thinking there may be a Slack bot I can create.
Best 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.