Pria UI now available in Dark mode !
cURL
curl --request POST \ --url http://localhost:3000/api/agent/sendChatMsg \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data ' { "message": "<string>", "sessionId": "<string>" } '
{ "success": true, "messageId": "<string>" }
Sends a chat message in an active engagement session
JWT token passed in x-access-token header
Chat message to send
Session identifier
Message sent successfully
ID of the sent message
Was this page helpful?