# List conversations

> Every conversation in a workspace, unread first, then newest first.

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

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

- Category: myCRMSIM Conversations / Conversations
- Auth: Bearer access token
- Scope: `conversations.read`

One row per contact (or group chat). `unread_count` and `is_read` are the same as in the myCRMSIM inbox. Filters combine with AND.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspace_id` | query | number | yes | The workspace. Example: `7` |
| `page` | query | number | no | Default 1. Example: `1` |
| `limit` | query | number | no | 1–50, default 20. Anything else is a 400. Example: `20` |
| `search` | query | string | no | Name or number. |
| `unread` | query | boolean | no | 1 = unread only. |
| `starred` | query | boolean | no | 1 = starred only. |
| `archived` | query | boolean | no | 1 = archived only. |

## Response 200

OK

```json
{
  "success": true,
  "data": [
    {
      "contact_id": 1234,
      "name": "Ann Lee",
      "phone": "+61412345678",
      "is_group": false,
      "group_id": null,
      "channels": [
        "sms",
        "whatsapp"
      ],
      "last_message": "Is Tuesday still OK?",
      "last_message_at": "2026-10-27T09:12:43.000Z",
      "last_inbound_at": "2026-10-27T09:12:43.000Z",
      "last_outbound_at": "2026-10-26T15:02:10.000Z",
      "unread_count": 1,
      "is_read": false,
      "is_starred": false,
      "is_archived": false
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "max_limit": 50,
    "total": 128,
    "total_pages": 7,
    "unread_total": 9
  }
}
```

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

## Response 404

Workspace does not exist or is not owned by the installer (same response for both)

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