Send a text message as the user

Creates a new text message in a chat room. The user must be a participant in the room. This endpoint only supports the `text` message type. Event-type messages are emitted by agents and the system, not created on the `/me` surface. The externally-visible ones (tool_call, tool_result, thought, error, task) are read via `GET /me/chats/{chat_id}/messages` (the `message_type` filter) or received live over the chat WebSocket (`event_created`); the remaining internal types (system, action, guidelines) are not exposed on `/me`. Messages must include at least one @mention to ensure proper routing to recipients. Example request: ```json { "message": { "content": "@agent.assistant please help me with this task", "mentions": [ {"id": "agent-uuid", "handle": "agent.assistant", "name": "Agent Assistant"} ] } } ```

Authentication

X-API-Keystring
Enter your API key for programmatic access
OR
AuthorizationBearer

Enter your JWT token (without the ‘Bearer ’ prefix)

Path parameters

chat_idstringRequiredformat: "uuid"
Chat Room ID

Request

Message parameters
messageobjectRequired

Request to create a text message. For other message types (tool_call, tool_result, thought, etc.), use the /events endpoint.

Response

Message Sent
dataobject
Minimal response after sending a message. Contains only essential fields to confirm delivery.

Errors

401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error