Web Conversations currently exposes 3 different endpoints for the Conversation Router to send messages, handovers and events to a specific web chat user.
Endpoints
https://cxcomlive-webconvwa-weu.azurewebsites.net
Message
Send a message to a Web Conversations chat.
METHOD : POST
ENDPOINT: /v1/conversationalrouter/message
BODY : TwoWay Format(https://developers.cm.com/mobile-service-cloud/docs/twoway-format)
Handover
Notify Web Conversations a handover has occurred. This way the UI can adapt to the livechat flow.
METHOD : POST
ENDPOINT: /v1/conversationalrouter/message
BODY : TwoWay Format(https://developers.cm.com/mobile-service-cloud/docs/twoway-format)
Body
{"conversationClientId":"{{$conversationClientId}}"}
METHOD : POST
ENDPOINT: /v1/conversationalrouter/event
BODY : TwoWay Format Event(https://developers.cm.com/mobile-service-cloud/docs/twoway-format#event-types)
Notify Web Conversations an event occurred