WuKongIM Docs

Append a message event

Operation boundary

  • Caller: Trusted backend only
  • Scope: Requires a committed persistent stream base with matching identity. Public events are delivered best effort to online Sessions; private/restricted events are not broadcast. Ordinary message sync does not enforce visibility access control; a trusted backend must authorize and filter.
  • Success: Success confirms projection acceptance, not online display. Complete terminal snapshots and offline message sync provide recovery. Retry an uncertain write with the exact same event_id and payload.
POST/message/event

Validates and applies one message-scoped event projection; non-null headers are unsupported.

Request Body

application/json

Event to project onto one message.

TypeScript Definitions

Use the request body type in TypeScript.

Message-event projection parameters.

Response Body

application/json

application/json

application/json

{  "status": 200,  "data": {    "client_msg_no": "string",    "event_key": "string",    "event_id": "string",    "msg_event_seq": 0,    "stream_status": "open",    "channel_id": "string",    "channel_type": 0,    "from_uid": "string"  }}