# Place a missed call

> Ring a contact for a few seconds, then hang up.

Source: https://docs.mycrmsim.com/docs/calls/missed-call

```http
POST https://backend.mysmsgateway.app/api/v1/ext/calls/missed-call
```

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

The **Missed Call** automation action: the first line in the workspace's Call Routing that can (the Android phone, the Mac, Twilio or the WhatsApp line) rings the contact for `ring_seconds` and hangs up before they can answer, so they see a missed call and call back or read the text that follows. Nothing is said on the line. **202** means the ring was queued on a device; a line that is offline moves on to the next one.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspace_id` | body | number | yes | A workspace of the installer. Example: `7` |
| `contact_id` | body | number | no | The contact to call: its phone number, or its email over FaceTime when it has none. One of contact_id, phone or email. Example: `1234` |
| `phone` | body | string | no | A phone number with country code; filed against its contact when there is one. Example: `+61412345678` |
| `ring_seconds` | body | number | no | 3–60, default 3. Example: `5` |

## Request body

```json
{
  "workspace_id": 7,
  "contact_id": 1234,
  "ring_seconds": 5
}
```

## Response 202

Ringing

```json
{
  "success": true,
  "message": "Missed call placed",
  "data": {
    "call_id": "mc-7a1b2c3d",
    "channel": "mac",
    "to": "+61412345678",
    "contact_id": 1234,
    "workspace_id": 7,
    "ring_seconds": 5,
    "from_number": null
  }
}
```

## Response 400

No recipient, ring_seconds out of range, no Call Routing, or no line that can ring

```json
{
  "success": false,
  "code": "no_call_routing",
  "message": "This sub-account has no Call Routing set up."
}
```

## 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

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

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