Overview
Allows the client to send a custom XML normal message from its account to an XMPP recipient.HTTP request
POST /Agent/Xmpp/SendXmlMessage
Authentication
Requires a valid JWT bearer token.Request (JSON)
Input parameters
| Parameter | Description |
|---|---|
| PTo | A Bare or Full JID (XMPP network address). |
| PSubject | Optional subject of message. |
| PLanguage | Optional ISO 639-1 language code. |
| PId | Optional Message ID. |
| PXml | The XML message to send. It can be sent as text or directly in XML (if sent embedded in XML). |
Response (JSON)
Response parameters
| Parameter | Description |
|---|---|
| PSent | If the XMPP stanza was sent or not. |
| Pid | ID of stanza sent. Can be used to update message. If no ID was provided in the call, a message ID will be generated. |