Our app hosts hundreds of communities and each of them need a chat channel. Currently we can automatically create categories and user groups via the API which is great, but we are forced to create every chat channel manually as there seems to be no API endpoint for this, which is a major strain for us.
Are there any plans to include chat channel creation in the API? That would be incredibly helpful as it’s our biggest issue with our Discourse integration right now
Category channel — POST /chat/api/channels
Defined at plugins/chat/config/routes.rb:9 → Chat::Api::ChannelsController#create
(plugins/chat/app/controllers/chat/api/channels_controller.rb:60).
For anyone else trying to do this, after some digging around I found out that these are the parameters needed to create a chat channel, in particular note that the category id needs to be in “chatable_id”: