---
title: "End Ai Voice Session"
method: POST
path: "/ai-voice/end-session"
tags: ["ai-voice"]
---

# End Ai Voice Session

`POST /ai-voice/end-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.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-09-21** `13996d792e23` — 1 info
  - added the new optional `header` request parameter `authorization`

[Change history](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/changes/ai-voice/end-session/post.md)

---

[API](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored.md) · [All operations](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/llms.txt) · [OpenAPI document](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/revisions/b5b1eed6f8d6?raw)
