Skip to main content
POST
Send Message

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Agent-ID
string

Target agent, team, or workflow ID when params.message.agentId is omitted.

X-User-ID
string

Optional user ID for anonymous attribution. Authenticated requests use the identity from the credential.

Body

application/json

Represents a JSON-RPC request for the message/send method.

id
required
params
MessageSendParams · object
required

Defines the parameters for a request to send a message to an agent. This can be used to create a new task, continue an existing one, or restart a task.

jsonrpc
string
default:2.0
Allowed value: "2.0"
method
string
default:message/send
Allowed value: "message/send"

Response

Message sent successfully

Represents a successful JSON-RPC response for the message/send method.

result
Task · object
required

Represents a single, stateful operation or conversation between a client and an agent.

id
jsonrpc
string
default:2.0
Allowed value: "2.0"