https://slack.com/usergroups.listList all User Groups for a team
Include the list of users for each User Group.
Authentication token. Requires scope: `usergroups:read`
Include the number of users in each User Group.
Include disabled User Groups.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request GET \
--url 'https://slack.com/usergroups.list' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://slack.com/usergroups.listList all User Groups for a team
Include the list of users for each User Group.
Authentication token. Requires scope: `usergroups:read`
Include the number of users in each User Group.
Include disabled User Groups.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request GET \
--url 'https://slack.com/usergroups.list' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}