SMS
SMS
Introduction
SMS stands for short message service. Cube provides APIs to send SMS from platform to the device where the SIM is installed and to retrieve the possible reply messages from the device.
Types of SMS
API send SMS
is to send A2P(application to person) MT(mobile terminated) messages, and the reply message is P2A(person to application) MO(mobile originated).
Both are likely to incur charges. Please consult our sales/FAE for the pricing details.
Prerequisites
To be able to use SMS APIs, the organisation should first have enabled SMS service and have sufficient SMS balance. The SMS quota is usually reset every month.
Consult our sales/FAE on how to enable SMS service and set up the quota.
Batch SMS
Cube supports sending SMS in bulk. However the process will be asynchronous as it usually takes time to complete.
First use send sms
API to send a message to multiple devices. The successful response indicates that the request has been well received by Cube API system and will be processed. If the response indicates error, the SMS will NOT be sent.
Next, use list sms mt
API with the job ID to query the status of the previous sending.
Likewise, use list sms mo
API to query if there is any MO received from the target devices.
SMS Delivery
SMS delivery will not be successful if the device is offline, and stays offline until the SMS retention expires in SMS Center.