Closing Web Messaging session via backend API

The docs state: “The guest API allows programmatic control of the session lifecycle.” I’m trying to close a session from our backend service. I can’t find a specific endpoint to close a session in the Knowledge API. The available endpoints allow creating a session via POST /api/v2/knowledge/guest/sessions and interacting with documents, but there is no explicit “close” operation listed. Is the session lifecycle managed automatically, or am I missing a scope or a different mechanism for terminating the session?

2 Likes