Info
  • Web service URL: BASE_URL/api/Notifications/sendsms

Send SMS messages (POST Method)

Request body

Name
Type
Required
Description
DataData[]
Yesobject containing phone number and message
phonestringYes
phone number
message
stringYes
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"
    }
  ]
}