Links

Send Visitor navigation history

Retrieves the pages your omnichannel user navigated on your website.
URL
Requires Auth
HTTP Method
/api/v1/livechat/page.visited
no
POST

Example payload

{
"token": "iNKE8a6k6cjbqWhWd",
"rid": "vp3D9H8ud6HYvRpvq",
"pageInfo": {
"change": "url",
"title": "",
"location": {
"href": "http://localhost:3000/packages/rocketchat_livechat/assets/demo.html#page-4"
}
}
}

Example Call

curl -X POST \
-H "Content-type:application/json" \
http://localhost:3000/api/v1/livechat/page.visited \
-d '{"token": "iNKE8a6k6cjbqWhWd", "rid": "vp3D9H8ud6HYvRpvq", "pageInfo": { "change": "url", "title": "", "location": { "href": "http://localhost:3000/packages/rocketchat_livechat/assets/demo.html#page-4" } }}'

Example Result

{
"success": true
}
Last modified 6d ago
Deprecation for cloud services and apps is now extended to November 20, 2023. Rocket.Chat versions receive support for six months after release.