---
title: "Hang up"
locale: en
url: https://tlg.builera.app/en/docs/reference/rest/calls.hangup
verified: 2026-10-24
app_version: "2.0"
generated: true
---

# Hang up

End a call in any state. Always allowed (even on a restricted account), never counted. A call that has not reached a worker yet is cancelled at once (ended: cancelled).

End a call in any state. Always allowed (even on a restricted account), never counted. A call that has not reached a worker yet is cancelled at once (ended: cancelled).

## Overview

| Name | Value |
| --- | --- |
| Code | `calls.hangup` |
| Scope needed | `calls` |
| Risk | Write |
| May need confirmation | No |
| Runs as | Queues work for a node |
| Needs `Idempotency-Key` | Yes |
| Member roles allowed | `owner`, `manager`, `agent` |
| Needs a worker from version | `1.0.44` |
| In the app | Call panel → Hang up |

## Input fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `callId` | `uuid` | Yes |   |

## Example request

```bash
curl -X POST https://tlg.builera.app/api/public/v2/ops/calls.hangup \
  -H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: <unique key per operation>" \
  -d '{"callId":"00000000-0000-0000-0000-000000000000"}'
```

## Output fields (`data`)

| Field | Type | Required |
| --- | --- | --- |
| `ok` | `true` | Yes |
| `callId` | `text` | Yes |
| `state` | `"active" \| "ended" \| "preparing" \| "requesting" \| "ringing" \| "exchanging_keys" \| "connecting"` | Yes |
| `jobId` | `null` | Yes |

## Example answer

```json
{
  "data": {
    "ok": true,
    "callId": "00000000-0000-4000-8000-000000000000",
    "state": "active",
    "jobId": null
  }
}
```

## Using it over MCP

Not listed on any profile: call `tools_describe` then `tools_run` with `code: "calls.hangup"`. Tool name when listed: `calls_hangup`.
