curl --request POST \
--url 'https://api.stateset.com/api/v1/a2a/messages' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"conversation_id": null,
"from_agent_id": "string",
"message_type": "string",
"payload": {},
"to_agent_id": "string"
}'
{
"attempts": 1,
"conversation_id": "string",
"created_at": "string",
"from_agent_id": "string",
"id": "string",
"message_type": "string",
"sequence_number": 1,
"status": "string",
"to_agent_id": "string"
}
`POST /api/v1/a2a/messages`
POST /api/v1/a2a/messages
POST
/
api
/
v1
/
a2a
/
messages
curl --request POST \
--url 'https://api.stateset.com/api/v1/a2a/messages' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"conversation_id": null,
"from_agent_id": "string",
"message_type": "string",
"payload": {},
"to_agent_id": "string"
}'
{
"attempts": 1,
"conversation_id": "string",
"created_at": "string",
"from_agent_id": "string",
"id": "string",
"message_type": "string",
"sequence_number": 1,
"status": "string",
"to_agent_id": "string"
}
Request body
SendMessageRequest
string,null
string
required
string
required
object
required
string
required
Responses
MessageResponse
ErrorBody
curl --request POST \
--url 'https://api.stateset.com/api/v1/a2a/messages' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"conversation_id": null,
"from_agent_id": "string",
"message_type": "string",
"payload": {},
"to_agent_id": "string"
}'
{
"attempts": 1,
"conversation_id": "string",
"created_at": "string",
"from_agent_id": "string",
"id": "string",
"message_type": "string",
"sequence_number": 1,
"status": "string",
"to_agent_id": "string"
}
⌘I