This method returns a list of all users in the team. This includes deleted/deactivated users.
{ARGS}
Returns a list of user objects, in no particular order:
{
"ok": true,
"members": [
{
"id": "U023BECGF",
"name": "bobby",
"deleted": false,
"color": "9f69e7",
"profile": {
"first_name": "Bobby",
"last_name": "Tables",
"real_name": "Bobby Tables",
"email": "bobby@slack.com",
"skype": "my-skype-name",
"phone": "+1 (123) 456 7890",
"image_24": "https:\/\/...",
"image_32": "https:\/\/...",
"image_48": "https:\/\/...",
"image_72": "https:\/\/...",
"image_192": "https:\/\/..."
},
"is_admin": true,
"is_owner": true,
"has_2fa": false,
"has_files": true
},
...
]
}
The profile hash contains as much information as the user has supplied
in the default profile fields: first_name
, last_name
, real_name
,
email
, skype
, and the image_*
fields. Only the image_*
fields are
guaranteed to be included. Data that has not been supplied may not be
present at all, may be null or may contain the empty string (""). Please
note that custom profile fields are not yet available through the API.
{ERRORS}
{WARNINGS}