POSThttps://sms-notification.montymobile.com/api/v2/sms/send-bulk-sms
Send Bulk SMS API
Overview
The Send Bulk SMS API allows sending the same SMS message to multiple destination numbers within a single API request.
Request Headers
text
Tenant: {Tenant_ID}
api-key: {API_KEY}
Content-Type: application/json
Request Body
json
{
"Source": "MontyTest",
"Message": "test message",
"Destination": []
}
Example
{
"Source": "MontyTest",
"Message": "Your OTP code is xxxx",
"Destination": [
"xxxx",
"xxxx",
"xxxx"
]
}
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Source | String | Yes | Sender ID used for the SMS |
| Message | String | Yes | SMS content to be delivered |
| Destination | Array | Yes | List of recipient mobile numbers |
cURL Example
bash
curl -X POST "https://sms-notification.montymobile.com/api/v2/sms/send-bulk-sms" \
-H "Tenant: {Tenant_ID}" \
-H "api-key: {API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"Source": "MontyTest",
"Message": "test message",
"Destination": []
}'
Success Response
json
{
"message": "Success",
"code": "8_10_200",
"success": true,
"data": [
{
"messageId": "xxx",
"errorCode": 0,
"description": null,
"destination": "xxxx"
},
{
"messageId": "xxx",
"errorCode": 0,
"description": null,
"destination": "xxxx"
}
],
"version": "2"
}
Response Fields
| Field | Type | Description |
|---|---|---|
| message | String | Human-readable status message (e.g. "Success") |
| code | String | Internal response code returned by the platform |
| success | Boolean | Indicates whether the request was processed successfully |
| data.messageId | String | Unique identifier assigned to the sent message |
| data.errorCode | Integer | 0 indicates no error; a non-zero value indicates a specific failure reason |
| data.description | String | Additional detail about the result; null when there is no error |
| data.destination | String | Recipient mobile number the response corresponds to |
| version | String | API version that generated the response |