Sending SMS
API URL: https://peasms.qlick.africa/api/send-sms
This section will provide details to assist SMS users send text messages to their respective recipients. Below are the requirements to enable one successfully complete this operation.
Request:
- Method:
POST
-
Headers:
-
Body:
customer_account
: Client identifier to be provided by outlierclient_code
: unique client identifier to be provided by outlierkey
: To be shared by Qlick on successful account openingshort_code
: sender that will appear as the originator of the message, this is optional and applies to cases where the client has multiple short codes integratedbulk
: whether the message being sent is short code or bulk (0 or 1)recipients
: List of numbers/msisdn value of the recipient of the messagemessage
: message that is to be sent to the recipient. (160 characters = 1 SMS)reference
: Client message identifier (Must be unique for every message)call_back_url
: callback url where a delivery report will be sent (optional)link_id
: Request message identifier. Required form OnDemand messages
Sample Request:
{
"customer_account": "PEASMS",
"client_code": "71459998",
"short_code": "PEASMS", //optional
"recipients": [
"254714855623",
"254769019569"
],
"message": "This is a test message to the sms api",
"call_back": "http://cleint.dlr-url.com",
"bulk": 1,
"key": "8jsp(NiaKS8Uof4v%JjY(6qlNFyq22kyQkWKHUOIR$esXgBvSz..."
}
Response (201):
- Headers:
- Body: