Submit a message
Operation boundary
- Caller: Trusted backend only
- Scope: Messages are submitted by a trusted backend; optional X-WK-Trace-ID must be 32 hexadecimal characters or the server ignores it and generates a new value.
- Success: Even with HTTP 200, inspect reason; only a success Reason Code means the message was accepted.
/message/sendAccepts the complete compatibility parser, including legacy aliases, transient flags, and request-scoped subscribers; inspect reason on HTTP 200.
Header Parameters
Optional 32-character hexadecimal trace ID; an invalid value is ignored and replaced with a generated ID.
^[0-9a-fA-F]{32}$Request Body
application/json
Message and delivery options submitted by the trusted backend.
TypeScript Definitions
Use the request body type in TypeScript.
Complete compatibility message-send parameters.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
{ "message_id": 0, "message_seq": 0, "reason": 1}