***

title: detectStop
slug: /reference/typescript/rest/calling/detect-stop
description: Stop an active detector on a call via REST.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[detect]: /docs/server-sdks/reference/typescript/rest/calling/detect

Stop an active detector.

<EndpointSchemaSnippet endpoint="POST /api/calling/calls" />

## **Response Example**

<EndpointResponseSnippet endpoint="POST /api/calling/calls" />

## **Example**

```typescript {9-9}
import { RestClient } from "@signalwire/sdk";

const client = new RestClient({
  project: "your-project-id",
  token: "your-api-token",
  host: "your-space.signalwire.com"
});

await client.calling.detectStop("call-id-xxx", { control_id: "ctrl-id" });
```