> For the complete documentation index, see [llms.txt](https://smarthive-tech-solution.gitbook.io/smarthive-tech-solution-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smarthive-tech-solution.gitbook.io/smarthive-tech-solution-api/sms/send-multiple-sms.md).

# Send Multiple SMS

```json
// Body sample
{
    "sender": "Smarthive",
    "recipients": "23490########,23490########",
    "msg": "Hello World",
    "type": 1,
    "route": "MKT"
    "ext_ref": "67uf_cu68"
}

```

{% hint style="info" %}

```
ext_ref is an optional field. The value must be unique
```

{% endhint %}

## Send

<mark style="color:green;">`POST`</mark> [https://api.smarthivesms.com](https://smsapi-sur2.onrender.com)`/api/sms/send/multi`

This endpoint allows you to send SMS Message

#### Headers

| Name                                        | Type   | Description  |
| ------------------------------------------- | ------ | ------------ |
| x-api-key<mark style="color:red;">\*</mark> | String | Your API Key |

#### Request Body

| Name                                         | Type   | Description                                         |
| -------------------------------------------- | ------ | --------------------------------------------------- |
| sender<mark style="color:red;">\*</mark>     | String | Sender ID                                           |
| recipients<mark style="color:red;">\*</mark> | String | MSISDN of recipient in international format         |
| msg<mark style="color:red;">\*</mark>        | String | SMS body ( < 905 characters)                        |
| type<mark style="color:red;">\*</mark>       | int    | 0: Flash SMS, 1: SMS delivers to inbox(default)     |
| route<mark style="color:red;">\*</mark>      | String | MKT for Promotional SMS, TRX for Transactional SMS, |
| ext\_ref                                     | String | Unique Message reference                            |

{% tabs %}
{% tab title="200: OK " %}

```json
{
    "status": "ok",
    "description": "The request has succeeded",
    "data": [
        {
        "msg_id": "DXww578MO",
        "recipient": "2349042839232",
        "status": "Submitted"
        },
        {
        "msg_id": "RXwq37828",
        "recipient": "2349042839232",
        "status": "Submitted"
        }
    ]
}
```

{% endtab %}
{% endtabs %}
