Info- Web service URL: BASE_URL/api/Notifications/sendsms
|
Send SMS messages (POST Method)
Request body
Name
| Type
| Required
| Description
|
Data | Data[]
| Yes | object containing phone number and message
|
phone | string | Yes
| phone number |
message
| string | Yes
| SMS message (max 1000 characters) |
Response
true if successful or detailed error message.
// Single SMS
{
"data": [
{
"phone": [
"0722123123"
],
"message": "Testing Innoship SMS Service"
}
]
}
// multiple SMS
{
"data": [
{
"phone": [
"0722123123"
],
"message": "Testing SMS service message 1"
},
{
"phone": [
"0722100100"
],
"message": "Testing SMS service message 2"
},
{
"phone": [
"0722141414"
],
"message": "Testing SMS service message 3"
}
]
}