# List scheduled messages

> A workspace's scheduled messages.

Source: https://docs.mycrmsim.com/docs/messages/list-scheduled-messages

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

- Category: myCRMSIM Messages / Messages
- Auth: Bearer access token
- Scope: `messages.read`

`status` defaults to `pending` (waiting or being sent now), soonest first. Any other status lists newest first.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspace_id` | query | number | yes | The workspace. Example: `7` |
| `status` | query | enum | no | Default pending. One of: `pending`, `sent`, `failed`, `cancelled`, `all`. |
| `contact_id` | query | number | no | Only this contact. |
| `page` | query | number | no | Default 1. |
| `limit` | query | number | no | 1–100, default 50. Anything else is a 400. |

## Response 200

OK

```json
{
  "success": true,
  "data": [
    {
      "id": 912,
      "workspace_id": 7,
      "contact_id": 1234,
      "to": "+61412345678",
      "message": "Reminder: your appointment is tomorrow at 10am.",
      "effect": null,
      "reaction": null,
      "attachments": [],
      "channel": null,
      "send_at": "2026-10-28T23:00:00.000Z",
      "status": "pending",
      "sent_message_id": null,
      "error": null,
      "created_at": "2026-10-27T09:20:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 50,
    "max_limit": 100,
    "total": 1,
    "total_pages": 1
  }
}
```

## 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): messages.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"
}
```
