cURL
curl --request POST \ --url https://{host}/Agent/Xmpp/SendXmlMessage \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "to": "<string>", "xml": "<string>", "subject": "<string>", "language": "<string>", "id": "<string>" } '
{ "sent": true, "id": "<string>" }
Allows the client to send a custom XML normal message from its account to an XMPP recipient.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success