# Decline ringing call

> Decline a ringing call, or dismiss it for this user only.

Source: https://docs.mycrmsim.com/docs/calls/decline-ringing-call

```http
POST https://backend.mysmsgateway.app/api/v1/ext/calls/incoming/{call_id}/decline
```

- Category: myCRMSIM Calls / Calls
- Auth: Bearer access token
- Scope: `calls.write`

`scope: "all"` (default) declines the call on the line for everyone; `"me"` only closes it for the installer's own session, others can still answer.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `call_id` | path | string | yes | The call id. Example: `c7f1a2b3-4d5e-4f60-8a9b-0c1d2e3f4a5b` |
| `scope` | body | enum | no | Default all. One of: `all`, `me`. |

## Response 200

OK

```json
{
  "success": true,
  "message": "Call declined",
  "data": {
    "call_id": "ring-5f2a",
    "scope": "all"
  }
}
```

## Response 401

Missing or invalid token

```json
{
  "success": false,
  "message": "Invalid or expired access token."
}
```

## Response 403

Missing scope

```json
{
  "success": false,
  "message": "Missing scope(s): calls.write. This integration was granted: …"
}
```

## Response 404

Call does not exist or is not the installer's (same response for both)

```json
{
  "success": false,
  "message": "Call not found or not accessible to this token"
}
```

## Response 409

It stopped ringing (answered, declined, or the caller hung up)

```json
{
  "success": false,
  "code": "not_ringing",
  "message": "This call is no longer ringing."
}
```
