Breadcrumbs

Conversational Router in Web Conversations

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)

404e1119-f406-4d9b-bacb-72962ae4f5d7-image.png


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)

b260bebc-897a-4980-bd36-43c942feec3e-image.png

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


91fd231c-a9d4-4fc0-bd7e-21948a10d80c-image.png