---
title: "Mark Stuck Calls Completed"
method: POST
path: "/developer/mark-stuck-calls-completed"
tags: ["Developer", "Developer - Debug"]
---

# Mark Stuck Calls Completed

`POST /developer/mark-stuck-calls-completed`

Mark all in-progress calls as completed for the current customer.

This endpoint is restricted to developer users only.
Used to clean up calls that are stuck showing as "in progress" on the calls page
when the end of call PATCH request was never made (e.g., due to a crash or network issue).

Only affects calls that started more than 5 minutes ago to avoid marking
active calls as stuck.

Sets:
- status to "completed"
- duration_seconds to 0
- has_error to True
- error_description to "End of call PATCH request never made"

## Response `200`

Successful Response

- MarkStuckCallsCompletedResponse — Response from marking stuck in-progress calls as completed
  - `calls_updated` integer, required — Number of calls that were marked as completed
  - `call_ids` string[] — List of call IDs that were updated
  - `message` string, required — Status message

---

[API](https://skmtc.dev/openintake/apis/fastapi.md) · [All operations](https://skmtc.dev/openintake/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintake/fastapi/revisions/4a81645b59f6/schema)
