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"}
Changes
Changed in 1 of the 25 revisions of this API.1
- ○
added the new optional
headerrequest parameterauthorizationnew-optional-request-parameter
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 25 revisions, 1 has no diff computed.