slack-channels
GET https://slack.com/api/conversations.list?types=public_channel,private_channel
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
types | string |
RESPONSES
status: OK
{"ok":true,"channels":[{"id":"C03MS1237CGQ1U5","name":"general","is_channel":true,"is_group":false,"is_im":false,"is_mpim":false,"is_private":false,"created":1660881619,"is_archived":false,"is_general":true,"unlinked":0,"name_normalized":"general","is_shared":false,"is_org_shared":false,"is_pending_ext_shared":false,"pending_shared":[],"context_team_id":"T03TVQ5QMT9","parent_conversation":null,"creator":"U03UCQV9U84","is_ext_shared":false,"shared_team_ids":["T03TVQ5QMT9"],"pending_connected_team_ids":[],"is_member":false,"topic":{"value":"","creator":"","last_set":0},"purpose":{"value":"This is the one channel that will always include everyone. It’s a great spot for announcements and team-wide conversations.","creator":"U03MS123","last_set":1660881619},"previous_names":[],"num_members":1}],"response_metadata":{"next_cursor":""}}