Need to create chat channels via API

Hi,

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

Thank you very much in advance!

Hmm, are you sure there is no API endpoint?

I thought this was it:

 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).