curl --request POST \
--url https://{host}/Agent/Xmpp/SendTextMessage \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"to": "bob@neuron.example.com",
"message": "Hello!",
"subject": "",
"language": "en",
"id": ""
}
'