Read public chat channel content from API

Hello, is there any document that explains how to access the chat channel from the API? thank you

You could try looking at this topic.

We don’t have any official API documentation for chat ATM.

To get the channel information the endpoint is: /chat/api/channels/:id.json

If you want to access the messages: /chat/api/channels/:id/messages.json with available params being:


Is it possible to POST to a dynamic channel as a particular user? I have seen the web hooks configuration, but it appears that only works for a single existing channel acting as the system user.

I am using my instance as the backend for my platform’s community features and am interested in leveraging chat since that seems more appropriate than configuring Topics length and rate limit to allow for short form communications.

Typed too soon, I figured it out, but I’m guessing this is “unofficial”

curl --location '' \
--header 'Content-Type: application/json' \
--header 'Api-Key: THE_KEY' \
--header 'Api-Username: THE_ACTING_USER' \
--data '{ "message": "My great chat message!"}'
1 Like