Skip to main content
POST
/
a2a
/
message
/
send
{
  "jsonrpc": "2.0",
  "id": "request-123",
  "result": {
    "task": {
      "id": "task-456",
      "context_id": "context-789",
      "status": "completed",
      "history": [
        {
          "message_id": "msg-1",
          "role": "agent",
          "parts": [
            {
              "kind": "text",
              "text": "Response from agent"
            }
          ]
        }
      ]
    }
  }
}

Headers

X-Agent-ID
string

Agent, Team, or Workflow ID. Can also be provided in the request body as params.message.agentId

X-User-ID
string

User ID. Can also be provided in the request body as params.message.metadata.userId

Body

application/json
jsonrpc
string
required
Example:

"2.0"

method
string
required
Example:

"message/send"

params
object
required
id
string
Example:

"request-123"

Response

Message sent successfully

jsonrpc
string
Example:

"2.0"

id
string
result
object
I