---
title: "End a phone call"
method: POST
path: "/messenger/v1/telephony/call/end"
tags: ["telephony"]
---

# End a phone call

`POST /messenger/v1/telephony/call/end`

Records the end of a phone call event. Used to update call records with duration and status.

## Request body

- CallEventDto
  - `call_type` 'incoming' | 'outgoing', required — Call type
  - `from` string, required — Call from
  - `to` string, required — Call to
  - `call_event_id` number, required — Call event id
  - `auth_user_id` number, required — Auth user id
  - `integration_code` string, required — Integration code
  - `time` string, required — Hangup button
  - `status` string, required — Status
  - `note` string — Note
  - `hangup_button` HangupButtonEventDto, required
    - `url` string, required — Hangup button url
    - `data` HangupButtonEventDataDto, required
      - `id` number, required — Hangup button id

## Response `200`

Call ended successfully

---

[API](https://skmtc.net/uspacy/apis/messenger-service-2.md) · [All operations](https://skmtc.net/uspacy/apis/messenger-service-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uspacy/messenger-service-2/revisions/699626a9e425/schema)
