Use the api to post to chat channel?

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

curl -i -X POST -d 'text=message' https://discourse.example.com/chat/hooks/aabbdcceeff.json
2 Likes