Overview
Send a formatted chat message. Provide Markdown inmessage and the server
creates plain text and HTML representations for recipients to choose from.
HTTP request
POST /Agent/Xmpp/SendFormattedMessage
Authentication
Requires a valid JWT bearer token.Request body
| Field | Type | Required | Description |
|---|---|---|---|
to | string | yes | Recipient JID (bare or full). |
message | string | yes | Markdown body of the message. |
subject | string | no | Optional subject line. |
language | string | no | Optional ISO 639-1 language code. |
id | string | no | Optional message id. |
Response
| Field | Type | Description |
|---|---|---|
sent | boolean | Whether the stanza was sent. |
id | string | Message id. Generated if not provided. |