Skip to main content
POST
/
message
/
send
curl --request POST \
  --url http://localhost:3773/message/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "method": "message/send",
  "params": {
    "message": {
      "role": "user",
      "parts": [
        {
          "kind": "text",
          "text": "whats the capital of india"
        }
      ],
      "kind": "message",
      "messageId": "550e8400-e29b-41d4-a716-446655440038",
      "contextId": "550e8400-e29b-41d4-a716-446655440038",
      "taskId": "550e8400-e29b-41d4-a716-446655440078"
    },
    "configuration": {
      "acceptedOutputModes": [
        "application/json"
      ]
    }
  },
  "id": "550e8400-e29b-41d4-a716-446655440024"
}
'
{
"jsonrpc": "2.0",
"id": "550e8400-e29b-41d4-a716-446655440024",
"result": {
"id": "550e8400-e29b-41d4-a716-446655440078",
"context_id": "550e8400-e29b-41d4-a716-446655440038",
"kind": "task",
"status": {
"state": "submitted",
"timestamp": "2025-11-03T12:48:51.692372+00:00"
},
"history": [
{
"message_id": "550e8400-e29b-41d4-a716-446655440038",
"context_id": "550e8400-e29b-41d4-a716-446655440038",
"task_id": "550e8400-e29b-41d4-a716-446655440078",
"kind": "message",
"parts": [
{
"kind": "text",
"text": "whats the capital of india"
}
],
"role": "user"
}
]
}
}

Authorizations

Authorization
string
header
required

JWT token for authentication

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
method
enum<string>
required
Available options:
message/send
params
object
required
id
string
required

Request identifier

Response

200 - application/json

Successful response

jsonrpc
enum<string>
required
Available options:
2.0
result
object
required

Method-specific result

id
string
required