# Call readiness

> Can the workspace call right now, line by line.

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

```http
GET https://backend.mysmsgateway.app/api/v1/ext/calls/readiness
```

- Category: myCRMSIM Calls / Calls
- Auth: Bearer access token
- Scope: `calls.read`
- Guide: [How calling works — the lines, Call Routing, the three kinds of call, inbound calls and voice agents, and where the history is](https://docs.mycrmsim.com/guides/how-calling-works)

`facetime` is the Mac, `android` whether a SIM call would carry browser audio, `missed_call` whether the Missed Call action could ring; `routing` is the Call Routing order. The lines, the order and the kinds of call are explained in the guide.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspace_id` | query | number | yes | A workspace of the installer. Example: `7` |

## Response 200

OK

```json
{
  "success": true,
  "data": {
    "workspace_id": 7,
    "facetime": {
      "ready": true,
      "reason": null,
      "message": null
    },
    "android": {
      "audio": false,
      "reason": "no_device"
    },
    "missed_call": {
      "ready": true,
      "reason": null,
      "message": null
    },
    "routing": [
      [
        "imessage"
      ],
      [
        "android"
      ]
    ]
  }
}
```

## Response 200

OK — no Mac for calling

```json
{
  "success": true,
  "data": {
    "workspace_id": 7,
    "facetime": {
      "ready": false,
      "reason": "no_device",
      "message": "No Mac is assigned to this workspace for calling."
    },
    "android": {
      "audio": false,
      "reason": "no_device"
    },
    "missed_call": {
      "ready": false,
      "reason": "no_call_routing",
      "message": "This sub-account has no Call Routing set up."
    },
    "routing": []
  }
}
```

## 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.read. This integration was granted: …"
}
```

## Response 404

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

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