Real-time messaging in channel-type pages.
List messages in a channel page.
Query params: limit, before (cursor-based pagination)
Response:
[{
"id": "string",
"userId": "string",
"userName": "string",
"content": "string",
"createdAt": "string",
"attachments": []
}]
Auth: View permission on the page.
Send a message to a channel.
Body:
{
"content": "string",
"attachments": []
}
Auth: Edit permission on the page.
Side effects: Message is broadcast via Socket.IO to all users in the channel room. If the message @mentions an AI agent, the agent is triggered to respond.
Channel messages are delivered in real-time via Socket.IO:
new_message — A new message was sentmessage_updated — A message was editedtyping — A user is typingpresence — User joined/left the channelClients join a Socket.IO room for each channel page they're viewing. The realtime service handles room management and message broadcasting.
Search docs, blog posts, and more.