curl --request POST \
--url https://services.leadconnectorhq.com/conversations/providers/live-chat/typing \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"locationId": "ve9EPM428h8vShlRW1KT",
"isTyping": true,
"visitorId": "ve9EPM428h8vShlRW1KT",
"conversationId": "ve9EPM428h8vShlRW1KT"
}
'{
"success": true
}Agent/AI-Bot will call this when they are typing a message in live chat message
curl --request POST \
--url https://services.leadconnectorhq.com/conversations/providers/live-chat/typing \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"locationId": "ve9EPM428h8vShlRW1KT",
"isTyping": true,
"visitorId": "ve9EPM428h8vShlRW1KT",
"conversationId": "ve9EPM428h8vShlRW1KT"
}
'{
"success": true
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-04-15 Location Id
"ve9EPM428h8vShlRW1KT"
Typing status
true
visitorId is the Unique ID assigned to each Live chat visitor. visitorId will be added soon in GET Contact API
"ve9EPM428h8vShlRW1KT"
Conversation Id
"ve9EPM428h8vShlRW1KT"
Show typing indicator for live chat
Was this page helpful?