---
title: "Leave Web Room"
method: POST
path: "/v1/t/{slug}/leave"
tags: ["Interpreters", "Interpreters"]
---

# Leave Web Room

`POST /v1/t/{slug}/leave`

## Request

- Base URL: `https://api.call2me.app`
- URL: `https://api.call2me.app/v1/t/{slug}/leave`
- Auth: HTTP bearer

Public: release a seat when a visitor closes their tab.

Best-effort — a browser that dies without sending this leaves the seat
held, which is what the stale-session sweep is for. Returning 200 for an
unknown room keeps this safe to call blindly from `beforeunload`.

`failed=true` means the browser never reached the room (the SDK would not
load, or `room.connect` timed out). That attempt is refunded: it would
otherwise burn one of three daily demos without the visitor hearing
anything. See `_refund_public_demo`.

## Path parameters

- `slug` string, required

## Query parameters

- `failed` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/call2me/apis/call2me-api.md) · [All operations](https://skmtc.dev/call2me/apis/call2me-api/llms.txt) · [OpenAPI document](https://skmtc.dev/call2me/apis/call2me-api/revisions/3951f9b7e47d?raw)
