ai-voice
End Ai Voice Session
End an AI voice calling session.
Signed in, and only the caller's own session (2026-09-18 route-auth review): ending a stranger's session hangs up their call. The pagehide beacon keeps working because navigator.sendBeacon carries the auth_token cookie (SameSite=None on HTTPS) even though it cannot set a header, and get_current_user reads the cookie when the header is absent.
post/ai-voice/end-session
Headers
authorizationstring nullable
Response
Successful Response
{"stackTrail":"paths:/ai-voice/end-session:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}