I need to end a web messaging session from our backend when the agent disconnects, but I can’t find the right endpoint. The UI shows the chat closed, but the guest widget stays active because the backend didn’t trigger the close event. We’re using the standard REST API, not the JS SDK for this part of the flow.
I tried using the conversation disconnect endpoint to force a teardown, but I’m unsure if that’s the correct approach for a standard close versus a full resynchronization. The docs are vague on the exact behavior needed to close the session from the server side without triggering a support case. Any guidance on the proper way to handle this?