# Send OTP SMS to Customers

## Send OTP SMS to Customers

<mark style="color:green;">`POST`</mark> `https://api.oneroute.io/api/public/sms`

This is for sending OTP messages only

#### Headers

| Name                                     | Type   | Description                 |
| ---------------------------------------- | ------ | --------------------------- |
| apiKey<mark style="color:red;">\*</mark> | string | API key for authentication. |

#### Request Body

| Name          | Type   | Description                                                                         |
| ------------- | ------ | ----------------------------------------------------------------------------------- |
| message       | string | The message to send to the customers                                                |
| recipients    | array  | List of recipients phone numbers                                                    |
| recipients.\* | string | recipient phone number. Must be in international format (Example: `2341793026727`). |

### Request Payload

```json
{
    "message": "message content",
    "recipients": ["23490xxxxxxxx"]
}
```

### Response

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

```json
{
    "body": [
        {
            "status": "success",
            "response": "4744271336207951463605"
        }
    ],
    "message": "SMS processed successfully",
    "success": true
}
```

{% endtab %}
{% endtabs %}
