Skip to main content
POST
/
mcp
/
messages
Post a message to a legacy SSE session
curl --request POST \
  --url https://app.myhero.so/mcp/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "method": "<string>",
  "params": "<unknown>",
  "result": "<unknown>",
  "id": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

sessionId
string
required
Minimum string length: 1

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
method
string
params
any
result
any
error
object
id

Response

Message accepted.

The response is of type object.