Submit an event
POST /v1/gateway/events
A sender pushes an event addressed to a recipient/session.
The sending participant’s id.
human or ai.The event kind, e.g.
message.The message text.
The target session.
Where replies should be delivered when the sender is reachable at another
gateway URL.
Optional key/values (up to 50 keys).
Deliver to a participant
POST /v1/gateway/deliveries
How another gateway hands an event to a participant reachable at this
gateway URL.
The participant to deliver to.
The nested gateway event (same fields as submit).
The target session.
The recipient’s gateway URL, when the recipient is reachable at another
gateway.
200 { "status": "ok" }; 404 if the recipient cannot be found.

