cURL
curl --request POST \ --url http://localhost:3000/api/messaging/channels/{channelId}/messages \ --header 'Content-Type: application/json' \ --data ' { "author_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "content": "<string>", "message_server_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "in_reply_to_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "raw_message": {}, "metadata": {}, "source_type": "eliza_gui", "mode": "websocket" } '
{ "success": true, "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "text": "<string>", "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "roomId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "createdAt": 123, "metadata": {} } }
Send a message to a channel. Supports sync, stream, and websocket response modes.
Documentation IndexFetch the complete documentation index at: https://docs.elizaos.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.elizaos.ai/llms.txt
Use this file to discover all available pages before exploring further.
sync
stream
websocket
Message sent successfully
Show child attributes
Was this page helpful?