/admin.usergroups.listChannels
GET
/admin.usergroups.listChannels
admin.usergroupsadmin
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://slack.com/api/admin.usergroups.listChannels?usergroup_id=' \
--header 'token;'
Response Response Example
200 - response
{
"channels": [
{
"id": "C024BE91L",
"name": "fun",
"num_members": 34,
"team_id": "T024BE911"
},
{
"id": "C024BE91K",
"name": "more fun",
"team_id": "T024BE912"
},
{
"id": "C024BE91M",
"is_redacted": true,
"name": "public-channel",
"num_members": 34,
"team_id": "T024BE911"
},
{
"id": "C024BE91N",
"name": "some more fun",
"team_id": "T024BE921"
}
],
"ok": true
}
Request
Query Params
usergroup_id
stringÂ
required
team_id
stringÂ
optional
include_num_members
stringÂ
optional
Header Params
token
stringÂ
required
admin.usergroups:read
Responses
Modified at 2023-08-15 05:39:45