Send Message
Sends a message to an existing replica. Supports targeting a specific chat, choosing a coding agent and model, attaching images, and enabling plan mode.
Authorizations
API key authentication. Obtain your API key from the Replicas dashboard under Settings > API Keys.
Path Parameters
The unique identifier of the replica
Body
Request body for sending a message to a replica
Message to send to the coding agent
Coding agent to use
claude, codex, cursor, opencode Target a specific chat session
Model to use for this message
Images to attach to the message
Whether to run in plan mode. Leading /plan in the message is also detected and stripped.
Whether to set the message as the active Codex goal. Leading /goal in the message is also detected and stripped.
Whether to run in fast mode. Leading /fast in the message is also detected and stripped.
Thinking/reasoning level. Controls how much effort the agent puts into reasoning. Falls back to provider default when omitted (Claude default: high, Codex default: medium, Cursor default: medium, Opencode default: medium).
low, medium, high, max Identifier of the user sending this message. When the request is authenticated via dashboard auth, the server overrides this with the authenticated user's id so team workspaces can attribute messages to the actual sender.
Email of the user sending this message. When the request is authenticated via dashboard auth, the server overrides this with the authenticated user's email.
Response
Message accepted
Response after sending a message to a replica
Status of the message delivery
sent, queued, waking Unique identifier for the sent message
Queue position if status is 'queued'
ID of the chat the message was sent to