---
title: "Disconnect a Web Call"
api: "POST /v1/api/calls/web/disconnect"
description: "End an ongoing web-based call session."
lastUpdated: "2026-10-29"
---

> **For AI agents:** the complete documentation index is at [llms.txt](https://trillet-ai.jamdesk.app/llms.txt). Append `.md` to any page URL for its markdown version.

End an active web-based call session. This API notifies the server that the user is done.

### Headers  

<ParamField header="x-workspace-id" type="string" required>
  Workspace identifier for the API.
</ParamField>


### Request Body

<ParamField body="roomName" type="string" required>
  The room name for the ongoing web call session.
</ParamField>

### Errors

| Status | Body | When |
| --- | --- | --- |
| `404` | `{"error": "Session not found"}` | No session with that `roomName` in this workspace |
| `404` | `{"error": "Agent not found"}` | The session's agent no longer exists |
| `500` | `{"error": "Failed to end web call", "details": "..."}` | Server error |

<ResponseExample>
```json
{
  "status": "success",
  "message": "Session ended successfully"
}
```
</ResponseExample>

---

📦 **OpenAPI specs:** Every OpenAPI specification referenced by this documentation is available as a single download — https://trillet-ai.jamdesk.app/api-specs.zip
