# List Send From devices

> The devices a workspace can send from — pass one as `send_from` on Send message.

Source: https://docs.mycrmsim.com/docs/messages/list-send-from-options

```http
GET https://backend.mysmsgateway.app/api/v1/ext/send-from-options
```

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

Lists the devices connected to a workspace, the same list as the **Send From** dropdown on a contact in app.mycrmsim.com → Conversations: its SIMs (Android/SMS), iMessage Macs, WhatsApp numbers and ready RCS devices.

The first option is always **Automatic** (`value` = `""`): the workspace Message Routing and the contact's assigned user decide the device, as when `send_from` is left out.

To send from one device, take its `value` and pass it as `send_from` on [Send message](/docs/messages/send-message). The device also decides the channel — a WhatsApp device sends over WhatsApp, a SIM over SMS. `channel` tells you which before you send.

Values are the device labels and can change when a device is renamed or reconnected, so read the list again rather than storing a value for long.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspace_id` | query | number | yes | The workspace whose devices to list. Must belong to the installer. Example: `7` |

## Response fields (send_from_options)

| Field | Type | Description |
| --- | --- | --- |
| `label` | string | What to show for this option — the channel, device name and number, as in the dashboard. |
| `value` | string | What to pass as `send_from` on Send message. `""` = Automatic. |
| `channel` | string, nullable | The channel this device sends on: "sms", "whatsapp", "imessage" or "rcs". Null for Automatic. |

## Response 200

OK — Automatic first, then the workspace's devices

```json
{
  "success": true,
  "data": [
    {
      "label": "Automatic (assigned user / default device)",
      "value": "",
      "channel": null
    },
    {
      "label": "SMS · SIM 2 · SIM 2 · +923015268400 #sm7-1",
      "value": "SMS · SIM 2 · SIM 2 · +923015268400 #sm7-1",
      "channel": "sms"
    },
    {
      "label": "WhatsApp · WhatsApp 179160 · 923001234567 #wa12",
      "value": "WhatsApp · WhatsApp 179160 · 923001234567 #wa12",
      "channel": "whatsapp"
    }
  ]
}
```

## Response 400

Validation — no workspace_id

```json
{
  "success": false,
  "message": "workspace_id is required"
}
```

## Response 401

Missing or invalid token

```json
{
  "success": false,
  "message": "Invalid or expired access token."
}
```

## Response 403

Missing scope (messages.send or messages.read)

```json
{
  "success": false,
  "message": "Missing scope(s): messages.send. This integration was granted: …"
}
```

## Response 404

workspace_id is not accessible to this token

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