Skip to main content

Delivery Setup - QContact

Routing in QContact Livechat​

Currently QContact supports agent routing based on the team/webstore. To achieve agent routing ensure that property webStoreReferrer is passed correctly inside context in the handover message request body as shown below

{
"chatId": "{chat_id}",
"sessionId": "{session_id}",
"accountId": "{account_id}",
"channel": "CXWebConversations",
"conversationHostId": "{conversation_host_id}",
"conversationClientId": "{conversation_client_id}",
"context": {
"CustomerInfo": "{\"name\":\"Jane Doe\",\"email\":\"[email protected]\"}",
"UrlReferrer": "https://fiddle.jshell.net/a7em2doq/show/",
"webStoreReferrer": "sales"
}
}

Presence Check In QContact Livechat​

Currently there is no way to check if agent is available or not based on their api documentations