Programmatically closing Web Messaging session via API

Looking for advice on how to programmatically terminate an active Web Messaging session from our backend service. We need to force-close the guest connection when specific CRM events trigger, but I cannot find a documented REST endpoint for this action.

  • Tried calling DELETE /api/v2/conversations/messaging/{conversationId} but it only marks the conversation as closed, leaving the guest widget in an active state.
  • Attempted to send a JSON payload via the Guest API to signal disconnection, but received a 405 Method Not Allowed error.