< Back
  • Single SMS

http://websmsapp.in/api/mt/SendSMS?user=demo&password=demo123&senderid=TOPTEN&channel=Trans&DCS=0&flashsms=0&number=989xxxxxxx&text=test-message&route=2

 Response : {“ErrorCode”:”000″,”ErrorMessage”:”Done”,”JobId”:”20047″,”MessageData”:[{“Number”:”91989xxxxxxx”,”MessageId”:”mvHdpSyS7UOs9hjxixQLvw”},{“Number”:”917405080952″,”MessageId”:”PfivClgH20iG6G5R3usHwA”}]}


  • Multiple SMS

http://websmsapp.in/api/mt/SendSMS?user=demo&password=demo123&senderid=TOPTEN&channel=Trans&DCS=0&flashsms=0&number=989xxxxxxx,999xxxxxxx&text=testmessage&route=2

  Response : {“ErrorCode”:”000″,”ErrorMessage”:”Done”,”JobId”:”20047″,”MessageData”:[{“Number”:”91989xxxxxxx”,”MessageId”:”mvHdpSyS7UOs9hjxixQLvw”},{“Number”:”91999xxxxxxx”,”MessageId”:”PfivClgH20iG6G5R3usHwA”}]}


  • Schedule SMS

http://websmsapp.in/api/mt/SendSMS?user=demo&password=demo123&senderid=TOPTEN&channel=Trans&DCS=0&flashsms=0&number=989xxxxxxx&text=testmessage&schedtime=2015/12/31 22:35:00 PM&route=2

  Response : {“ErrorCode”:”000″,”ErrorMessage”:”Done”,”JobId”:”20047″,”MessageData”:[{“Number”:”91989xxxxxxx”,”MessageId”:”BqTiw66A2UGLFV3DnwHFLQ”}]}


  • Group SMS

http://websmsapp.in/api/mt/SendSMS?user=demo&password=demo123&senderid=TOPTEN&channel=Trans&DCS=0&flashsms=0&number=989xxxxxxx&text=testmessage&groupid=###&route=2

  Response : {“ErrorCode”:”000″,”ErrorMessage”:”Done”,”JobId”:”20047″,”MessageData”:[{“Number”:”91989xxxxxxx”,”MessageId”:”mvHdpSyS7UOs9hjxixQLvw”},{“Number”:”91999xxxxxxx”,”MessageId”:”PfivClgH20iG6G5R3usHwA”}]}


  • Check Delivery

http://websmsapp.in/api/mt/GetDelivery?user=demo&password=demo123&jobid=#######

  Response {“ErrorCode”:”0″,”ErrorMessage”:”Done”,”MessageId”:null,”DeliveryReports”:[{“MessageId”:”mvHdpSyS7UOs9hjxixQLvw”,”DeliveryStatus”:”Delivered”,”DeliveryDate”:”2015-09-28T06:17:00″},{“MessageId”:”PfivClgH20iG6G5R3usHwA”,”DeliveryStatus”:”Delivered”,”DeliveryDate”:”2015-09-28T06:17:00″}]}


  • Check Balance

http://websmsapp.in/api/mt/GetBalance?User=demo&Password=demo123

  Response :- {“ErrorCode”:”0″,”ErrorMessage”:”Done”,”Balance”:”Promo:9988|Trans:999″}


 Parameter Information:

Parameter Name Description
Account Parameters
user Your login username
password Your login password
APIKey Instead of the username and password you can use the apple key for authentication of account
Message Parameters
senderid Approved sender id(6 characters string only).
channel Message channel Transactional(Trans) or Promotional(Promo).
route Route ID is 2 for Trans, 1 for Promo. For your route id Login to Panel (http://websmsapp.in/Web/MT/MyRoutes.aspx).
DCS Data coding value (Default is 0 for normal message, Set 8 for unicode sms)
flashsms Flash message immediate display (Default is 0 for normal sms, Set 1 for immediate display)
number Recipient mobile number (pass with comma seprated if need to send on more then one number)
text Your sms content
Optional Parameters
schedtime Schedule date and time for scheduling message (DateTime formate will be 2014/10/06 20:30:00 PM yyyy/mm/dd hh:mm:ss PM)
groupid group id for numbers

 

 

Comments are closed.