Skip to main content
POST
/
v1
/
replica
/
{id}
/
send
Send Replica Message
curl --request POST \
  --url https://api.replicas.dev/v1/replica/{id}/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "coding_agent": "claude"
}
'
{
  "status": "sent",
  "position": 123
}

Authorizations

Authorization
string
header
required

API key authentication. Obtain your API key from the Replicas dashboard under Settings > API Keys.

Path Parameters

id
string<uuid>
required

The unique identifier of the replica

Body

application/json

Request body for sending a message to a replica

message
string
required

Message to send to the coding agent

coding_agent
enum<string>
default:claude

Coding agent to use

Available options:
claude,
codex

Response

Message accepted

Response after sending a message to a replica

status
enum<string>
required

Status of the message delivery

Available options:
sent,
queued,
waking
position
integer | null

Queue position if status is 'queued'