/admin.conversations.search
GET
/admin.conversations.search
admin.conversationsadmin
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://slack.com/api/admin.conversations.search' \
--header 'token;'
Response Response Example
200 - response
{
"channels": [
{
"created": 1449252889,
"creator": "U012A3CDE",
"id": "C012AB3CD",
"is_archived": false,
"is_channel": true,
"is_ext_shared": false,
"is_general": true,
"is_group": false,
"is_im": false,
"is_member": true,
"is_mpim": false,
"is_org_shared": false,
"is_pending_ext_shared": false,
"is_private": false,
"is_shared": false,
"name": "general",
"name_normalized": "general",
"num_members": 4,
"pending_shared": [],
"previous_names": [],
"purpose": {
"creator": "",
"last_set": 0,
"value": "This channel is for team-wide communication and announcements. All team members are in this channel."
},
"topic": {
"creator": "",
"last_set": 0,
"value": "Company-wide announcements and work-based matters"
},
"unlinked": 0
}
],
"ok": true,
"response_metadata": {
"next_cursor": "dGVhbTpDMDYxRkE1UEI="
}
}
Request
Query Params
team_ids
stringÂ
optional
query
stringÂ
optional
limit
integerÂ
optional
cursor
stringÂ
optional
cursor
to next_cursor
returned by the previous call to list items in the next page.search_channel_types
stringÂ
optional
private
will search private channels, while private_exclude
will exclude them. For a full list of types, check the Types section.sort
stringÂ
optional
relevant
(search ranking based on what we think is closest), name
(alphabetical), member_count
(number of users in the channel), and created
(date channel was created). You can optionally pair this with the sort_dir
arg to change how it is sortedsort_dir
stringÂ
optional
asc
for ascending order like (1, 2, 3) or (a, b, c), and desc
for descending order like (3, 2, 1) or (c, b, a)Header Params
token
stringÂ
required
admin.conversations:read
Responses
Modified at 2023-08-15 05:39:45