Question

does anyone know of a hacky way to make multiple Slack channels private? It doesn’t look like S...


Badge

does anyone know of a hacky way to make multiple Slack channels private? It doesn’t look like Slack has an open api for this



🗨 Link to Slack thread

18 replies

Userlevel 2
Badge +5

Isn’t there a CSV thing you can do?

Userlevel 2
Badge +5

how many channels are you talking, here?

Userlevel 2
Badge +5

(also, did someone mess up or is there a culture shift happening?)

Badge

like a csv bulk update? I know you can import a csv to create channels, but I’m not aware of updating existing channels. Its about 75 channels, so kinda tedious to do manually. Noone messed up, there’s just been some concerns about public channels for this workspace 🙂

Userlevel 2
Badge +5

still, 75 channels changing to private is a lot haha. Slack would be like . I thought there was a bulk update. maybe i saw one bc I’m on Grid? 🤔

Userlevel 2
Badge +5

@mikestone-bettercloud maybe you know some magic here

Userlevel 5
Badge +2

lets see….

Userlevel 5
Badge +2

so looks like there is no documented endpoint to make a public channel private

Userlevel 5
Badge +2

………

Userlevel 5
Badge +2

but there is an undocumented endpoint…..

Badge

yah, i was hoping someone might have some hacky way to do this

Badge

oh snap.

Userlevel 5
Badge +2

looks like this:

Userlevel 5
Badge +2

https://bettercloudsandbox.slack.com/api/conversations.convertToPrivate?_x_id=blah8&_x_csid=-blah&slack_route=blah&_x_version_ts=blah&_x_gantry=true

Userlevel 5
Badge +2

and it accepts a channel

Userlevel 5
Badge +2

so…..you can probably hack it together with Postman if you really need to

Userlevel 5
Badge +2

or some other script

Badge

awesome, i’ll mess around with this. thanks mike!!

Reply