This endpoint is especially useful for sending out marketing campaigns like promotions for upcoming sales, special discount coupons, or event promotions, etc., to your contact lists.
This endpoint is used to send an SMS to multiple recipients in one go.
listId | Array of strings or null <uuid> The |
required | Array of objects (Recipient) The `mobile number(s) to which you want to send the SMS (along with the country code). |
senderName required | string [ 6 .. 11 ] characters Default: "MainBrainer" The sender name you wish to use for your SMS sending ( |
isBodyEncrypted required | boolean Default: false Pass the parameter value as Isbodyencrypted if you wish to encrypt your message body. |
body required | string Default: "Hi, test sms from MainBrainer." The complete text of the SMS that you wish to send. |
scheduleDateTime | string or null <date-time> The scheduled date and time for the message sending in |
landingPageId | string or null <uuid> Default: "00000000-0000-0000-0000-000000000000" Landing page ID of the landing page you wish to send with the SMS. |
object (Shortner) The shortener you wish to use for the landing page URL ( | |
webHookUrl | string or null The webhook URL where you want to receive delivery status updates for the SMS being sent. |
unsubscribeId | string <uuid> |
Success
Bad Request
Unauthorized
Conflict
Client Error
Server Error
{- "listId": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "recipients": [
- {
- "mobileNo": 0,
- "personalizationSubstitutionTags": [
- {
- "tagName": "string",
- "tagValue": "string"
}
]
}
], - "senderName": "MainBrainer",
- "isBodyEncrypted": false,
- "body": "Hi, test sms from Mainbrainer.",
- "scheduleDateTime": "2019-08-24T14:15:22Z",
- "landingPageId": "00000000-0000-0000-0000-000000000000",
- "shortner": {
- "shortnerUrl": "sms.club",
- "isUniqueUrl": true
}, - "webHookUrl": "string",
- "unsubscribeId": "20d79bc6-4ce5-4654-9cdd-d12b55cf4944"
}
{- "queueId": "string",
- "QueuedTimestamp": 0
}