Get Channels
Lists all channels in a Slack team.
External Documentation
To learn more, visit the Slack documentation.
Parameters
Parameter | Description |
---|---|
Exclude Archived? | Check to exclude archived channels from the list. |
Limit | The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000. |
Return All Pages | Automatically fetch all resources, page by page. |
Types | Add as comma-separated list to filter the type of channels you wish to list: publicchannel, privatechannel, im, mpim. |
Example Output
{
"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
},
{
"created": 1449252889,
"creator": "U061F7AUR",
"id": "C061EG9T2",
"is_archived": false,
"is_channel": true,
"is_ext_shared": false,
"is_general": false,
"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": "random",
"name_normalized": "random",
"num_members": 4,
"pending_shared": [],
"previous_names": [],
"purpose": {
"creator": "",
"last_set": 0,
"value": "A place for non-work-related flimflam, faffing, hodge-podge or jibber-jabber you'd prefer to keep out of more focused work-related channels."
},
"topic": {
"creator": "",
"last_set": 0,
"value": "Non-work banter and water cooler conversation"
},
"unlinked": 0
}
],
"ok": true,
"response_metadata": {
"next_cursor": "dGVhbTpDMDYxRkE1UEI="
}
}
Workflow Library Example
Onboarding Team Member to Project
Preview this Workflow on desktop