/sms/sendSMS Mobile Termination
This service allows the user to send SMS to one or more terminals (phones or any SMS-enabled device) from their application.
Fields & examplesSend and receive messages, with delivery reports
SMS API allows your application to send messages to your subscriber base and receive messages from your subscribers. It also provides you an extra service of reporting delivery details of messages to track the status of the delivery.
/sms/sendhttps://api.mspace.lk/sms/send
{
"version": "1.0",
"applicationId": "APP_999999",
"password": "password",
"message": "Hello",
"destinationAddresses": [
"tel:94702725777"
],
"sourceAddress": "77000",
"deliveryStatusRequest": "1",
"encoding": "245",
"binaryHeader": "526574697265206170706c69636174696f6e20616e642072656c6561736520524b7320696620666f756e642065787069726564"
}{
"version": "1.0",
"requestId": "101901031657410007",
"destinationResponses": [
{
"timeStamp": "20190103165801",
"address": "tel:94702725777",
"messageId": "101901031657410007",
"statusCode": "S1000",
"statusDetail": "Success"
}
],
"statusCode": "S1000",
"statusDetail": "Success."
}/sms/sendThis service allows the user to send SMS to one or more terminals (phones or any SMS-enabled device) from their application.
Fields & examples/sms/receiveThis service retrieves the SMS sent to the web application. Receive service returns only a list of SMS messages received since the previous invocation of the method.
Fields & examples/sms/reportWhen performing a SendSms Operation if an application has requested for a Delivery Response message from the Message Centre, then TAP will initiate the Delivery Report service to hand over the Delivery Response message to the application. The messageId should be used to match the MT response with the Delivery Report.
Fields & examplesmSpace offers you free registration where you can just sign up to create your application. Revenue share is subject to mSpace admin decision and approval upon submitting your application for approval.