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>"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

Delivers a JSON-RPC message to an active legacy SSE session identified by the sessionId query parameter. The server pushes the response back over the SSE stream. Deprecated — prefer the Streamable HTTP transport.

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.