Mar 12, 2024
1 minute read

Conversational Router

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)

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)

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

image.png

group icon
Get support

Can’t find the answer you are looking for?
Ask for the help of our chatbot, or get in touch with our support team.

Contact Support
Is this region a better fit for you?
Go
close icon