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 |
{
"token": "iNKE8a6k6cjbqWhWd",
"rid": "vp3D9H8ud6HYvRpvq",
"pageInfo": {
"change": "url",
"title": "",
"location": {
"href": "http://localhost:3000/packages/rocketchat_livechat/assets/demo.html#page-4"
}
}
}
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" } }}'
{
"success": true
}
Last modified 6d ago