Use the api to post to chat channel?

Looking to develop a bot for Discourse chat. Is it possible to utilize the post api call and get something into a chat channel?

Does this section in the plugin topic about incoming webhooks help?

1 Like

Oh man… my brain went straight to the api. So, I read through the api docs and searched for chat and api based topics.

That should work out just fine. Thanks so much for pointing me in the right direction.


For future reference the API to post to chat channel via webhook is

curl -i -X POST -d 'text=message'
1 Like