# List recent calls

> The calls the workspace's Mac lines rang or placed, newest first.

Source: https://docs.mycrmsim.com/docs/calls/list-calls

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

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

Every call a Mac line (FaceTime Audio) saw in the last `days`, with its stages as the Calls page shows them and a one-word `outcome`: `answered`, `ai_answered`, `declined`, `missed`, `caller_hung_up`, `failed`, `not_rung` or `ringing`. AI calls on every channel, with transcripts, are in *Voice agents → List voice calls*; calls on SIM, WhatsApp and Twilio lines are logged on the contact's conversation as `CALL:` messages (*List conversation messages*).

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspace_id` | query | number | yes | A workspace of the installer. Example: `7` |
| `days` | query | number | no | 1–90, default 7. Example: `7` |
| `limit` | query | number | no | 1–200, default 50. Example: `50` |

## Response 200

OK

```json
{
  "success": true,
  "data": [
    {
      "call_id": "mac-call-91a2",
      "workspace_id": 7,
      "device_id": "A1B2C3D4-MAC",
      "kind": "incoming",
      "outcome": "answered",
      "started_at": "2026-11-04T01:00:00.000Z",
      "stages": [
        {
          "stage": "ringing",
          "ok": true,
          "detail": null,
          "at": "2026-11-04T01:00:00.000Z"
        },
        {
          "stage": "connected",
          "ok": true,
          "detail": null,
          "at": "2026-11-04T01:00:05.000Z"
        }
      ]
    }
  ],
  "meta": {
    "days": 7,
    "limit": 50
  }
}
```

## Response 400

days or limit out of range

```json
{
  "success": false,
  "message": "days must be a whole number from 1 to 90."
}
```

## 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"
}
```
