Skip to main content
POST
Submit a message to the central messaging system

Body

application/json
channel_id
string<uuid>
required

Central channel ID where the message is posted

server_id
string<uuid>
required

Server ID (use '00000000-0000-0000-0000-000000000000' for default)

author_id
string<uuid>
required

ID of the message author (user or agent)

content
string
required

The message content text

source_type
string
required

Source type (e.g., 'agent_response', 'user_message')

raw_message
object
required

Raw message object containing additional data

in_reply_to_message_id
string<uuid>

Optional ID of the message being replied to

metadata
object

Additional metadata including agent_name if from agent

Response

Message submitted successfully

success
boolean
data
object