admin.users.list [List users on a workspace]
users.list [Lists all users in a Slack team]
What will be the difference in these two response?
admin.users.list allows using same admin token to read members of different slack workspaces,
whereas, when using users.list, you need different access token for getting members from each slack workspace.
Also, the response of users.list
method is more verbose:
https://api.slack.com/methods/users.list#examples
as compared to admin.users.list
:
https://api.slack.com/methods/admin.users.list#examples