Users

Usergroups Users List

GET
/usergroups.users.list

List all users in a User Group

Authorization

slackAuth usergroups:read
AuthorizationBearer <token>

In: header

Scope: usergroups:read

Query Parameters

token*string

Authentication token. Requires scope: usergroups:read

include_disabled?boolean

Allow results that involve disabled User Groups.

usergroup*string

The encoded ID of the User Group to update.

Header Parameters

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Response Body

application/json

application/json

curl -X GET "https://example.com/usergroups.users.list?token=string&usergroup=string" \  -H "Content-Type: application/x-www-form-urlencoded"
{  "ok": "True",  "users": [    "string"  ]}