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. The SMSs can be sent immediately or scheduled for delivery at a later date and time.
This endpoint is especially useful for sending recipient-specific one-time alert messages or updates, such as OTPs or transaction updates
recipient required | integer <int64> The mobile number to which you want to send an 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. |
Array of objects or null (PersonalizationSubstitutionTag) Insert dynamic data at the time of SMS sending, follow the pattern | |
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
{- "recipient": 0,
- "senderName": "MainBrainer",
- "isBodyEncrypted": false,
- "body": "Hi, test sms from MainBrainer.",
- "personalizationSubstitutionTags": [
- {
- "tagName": "string",
- "tagValue": "string"
}
], - "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
}