SOLFIND
Web Lens
Portal home

Managing channels | Slack Developer Docs

https://docs.slack.dev/admins/managing-channels/ • 47 KB fetched
Open original page


Managing channels | Slack Developer Docs guide Skip to main content Guides Reference Samples Tools Changelog Dev Program MANAGE APPS * Welcome! * Quickstart * Resources * * Slack platform concepts * AI in Slack * APIs * App management * App manifests * Admin resources * Overview * Managing app approvals * Managing channels * Managing invite requests * Managing users * Managing apps, workflows, and connector permissions * Using the Admin Oversight API * Using the Audit Logs API * Using the Legal Holds API * Using the Slack SCIM API * Authentication * Block Kit * Enterprise * Enterprise Search for apps * GovSlack * Interactivity * Messaging * Slack Marketplace * Surfaces * Workflows * * Legacy * * 日本語版ページ * * Admin resources * Managing channels Copy as markdown On this page Managing channels The features within are only available to Slack workspaces on an Enterprise plan. Don't have a paid plan? Join the Developer Program and provision a fully-featured sandbox for free. The APIs for channel management allow your app to create and control channels within your Enterprise organization. You can achieve anything with your app that could be done with a Slack Admin's channel management tools . That includes: * creating and deleting channels, * archiving and unarchiving channels, * connecting and disconnecting additional workspaces, * and setting posting preferences. With the help of these APIs, you can streamline and automate the task of channel management, saving your admins time and making their lives more pleasant and productive. Set up with scopes ​ Two scopes enable an app to manage channels across an Enterprise org: * The admin.conversations:read scope allows the app to get information about channels. * The admin.conversations:write scope allows the app to create and change channels. All admin.* scopes are obtained using the normal OAuth flow , but there are a few extra requirements. The OAuth installation must: * be initiated by an Enterprise org admin or owner. * take place on the Enterprise org, not on an individual workspace, using the workspace switcher during the install flow. Check out the scope documentation for more detail . Manage channels ​ Here are the methods for some of the most common things you'll want to do with channels: Action Method Create a channel admin.conversations.create Delete a channel admin.conversations.delete Invite some users admin.conversations.invite Archive a channel admin.conversations.archive Unarchive a channel admin.conversations.unarchive Rename a channel admin.conversations.rename Search for a channel admin.conversations.search Convert a public channel to private admin.conversations.convertToPrivate Convert a private channel to public admin.conversations.convertToPublic The reference pages linked above are your best source of info for how to call these methods and what to expect in response. If you have your channels up and running, you might want to make some modifications to who has permission to post messages and to respond in threads. If so, read on . Set and get posting preferences ​ You can decide exactly who can post messages in your channel, and who can respond inside threads with the following methods: Action Method Set permissions admin.conversations.setConversationPrefs Retrieve already set permissions admin.conversations.getConversationPrefs Here's a quick primer on the admin.conversations.setConversationPrefs method: To set either who can post or who can respond in threads, you'll use the prefs argument with some stringified JSON. "Stringified JSON" means JSON with white space removed and fields marked by single quotations. Since this argument won't contain more complex characters, you don't need to do further encoding. For example, to set who can post messages, use the who_can_post field inside your prefs argument: "prefs" : "{'who_can_post':'type:admin,user:U1234'}" Inside your stringified JSON for who_can_post , you can specify who the permission applies to in a few different ways: * by type : you can include all admin users, or just all user s in general. * by user : you can specifically list users: user:U123ABC456 . The can_thread field works exactly the same inside the prefs object, only it determines who can respond in threads. You can pass both who_can_post and can_thread to the prefs argument in this method at the same time. For example: "prefs" : "{'who_can_post':'type:admin,user:U1234','can_thread':'type:user'}" Connect and disconnect other workspaces ​ You can handle connected workspaces for a channel with the following methods: Action Method Set the connected workspaces for a channel. Any previously-connected workspaces you do not include will be disconnected. admin.conversations.setTeams Retrieve the list of workspaces that have already been connected to a channel admin.conversations.getTeams Disconnect a workspace from a channel admin.conversation.disconnectShared The reference pages linked above are the best way to determine exactly how to call these methods and what to expect in response. You can connect workspaces to a channel using the admin.conversations.setTeams method. But you can also set a channel to be available across an entire Enterprise organization with the same method, just by setting the org_channel parameter to true . Check out the rest of our documentation to see other ways that your app can aid Admins in managing Slack. Previous Managing app approvals Next Managing invite requests Copy as markdown * Set up with scopes * Manage channels * Set and get posting preferences * Connect and disconnect other workspaces . * Tools * Slack CLI * Bolt frameworks * Slack SDKs * Block Kit Builder * Developer program * Code samples & tutorials * LLM? Read llms.txt * All tools Learn * Learning paths * Workshops * Slack certifications * Trailhead * Resource library * All learning resources Community * Slack community * Slack events Resources * Docs * Blog * Slack marketplace * Developer newsletter Manage Apps * Your apps * Status * Privacy * Terms * Cookie Preferences * Support * Changelog * Your Privacy Choices © 2026 Slack Technologies, LLC, a Salesforce company. All rights reserved. Various trademarks held by their respective owners. * * *

Links found on this page

  1. Skip to main content [direct]
  2. Guides [direct]
  3. Reference [direct]
  4. Samples [direct]
  5. Tools [direct]
  6. Changelog [direct]
  7. Dev Program [direct]
  8. MANAGE APPS [direct]
  9. Quickstart [direct]
  10. Resources [direct]
  11. Slack platform concepts [direct]
  12. AI in Slack [direct]
  13. APIs [direct]
  14. App management [direct]
  15. App manifests [direct]
  16. Admin resources [direct]
  17. Managing app approvals [direct]
  18. Managing channels [direct]
  19. Managing invite requests [direct]
  20. Managing users [direct]
  21. Managing apps, workflows, and connector permissions [direct]
  22. Using the Admin Oversight API [direct]
  23. Using the Audit Logs API [direct]
  24. Using the Legal Holds API [direct]
  25. Using the Slack SCIM API [direct]
  26. Authentication [direct]
  27. Block Kit [direct]
  28. Enterprise [direct]
  29. Enterprise Search for apps [direct]
  30. GovSlack [direct]
  31. Interactivity [direct]
  32. Messaging [direct]
  33. Slack Marketplace [direct]
  34. Surfaces [direct]
  35. Workflows [direct]
  36. Legacy [direct]
  37. 日本語版ページ [direct]
  38. Slack Admin's channel management tools [direct]
  39. scopes [direct]
  40. admin.conversations:read [direct]
  41. admin.conversations:write [direct]
  42. OAuth flow [direct]
  43. admin.conversations.create [direct]
  44. admin.conversations.delete [direct]
  45. admin.conversations.invite [direct]
  46. admin.conversations.archive [direct]
  47. admin.conversations.unarchive [direct]
  48. admin.conversations.rename [direct]
  49. admin.conversations.search [direct]
  50. admin.conversations.convertToPrivate [direct]
  51. admin.conversations.convertToPublic [direct]
  52. admin.conversations.setConversationPrefs [direct]
  53. admin.conversations.getConversationPrefs [direct]
  54. admin.conversations.setTeams [direct]
  55. admin.conversations.getTeams [direct]
  56. admin.conversation.disconnectShared [direct]
  57. Check out the rest of our documentation [direct]
  58. Slack CLI [direct]
  59. Bolt frameworks [direct]
  60. Block Kit Builder [direct]
  61. Code samples & tutorials [direct]
  62. LLM? Read llms.txt [direct]
  63. Learning paths [direct]
  64. Workshops [direct]
  65. Slack certifications [direct]
  66. Trailhead [direct]
  67. Resource library [direct]
  68. All learning resources [direct]
  69. Slack community [direct]
  70. Slack events [direct]
  71. Blog [direct]
  72. Slack marketplace [direct]
  73. Developer newsletter [direct]
  74. Status [direct]
  75. Privacy [direct]
  76. Terms [direct]
  77. Your Privacy Choices [direct]