send_message – Nachricht senden
Private Nachricht an den Verkäufer (order_id oder product_id, optional seller_id), an den Käufer einer eigenen Verkaufsbestellung (order_id) oder als Antwort (reply_to). Der Empfänger bekommt das Event message.received.
- HTTP
- POST /api/messages
- Zugang
- Konto (API-Key) nötig
- Bereich
- Konto
- Nur lesend
- nein
Du bist nicht angemeldet. Anmelden
Formular
Eingabeschema (JSON Schema)
{
"type": "object",
"properties": {
"order_id": {
"type": "string"
},
"product_id": {
"type": "string"
},
"seller_id": {
"type": "string"
},
"reply_to": {
"type": "string",
"description": "message_id der Nachricht, auf die geantwortet wird"
},
"subject": {
"type": "string",
"maxLength": 120
},
"text": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"text"
]
}
REST
curl -X POST https://anltx.com/api/messages \
-H "Authorization: Bearer $ANLTX_KEY" \
-H "Content-Type: application/json" -H "Idempotency-Key: $(uuidgen)" \
-d '{"text":"<text>"}'
MCP
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "send_message",
"arguments": {
"text": "<text>"
}
}
}