Bulk SMS API
With the Bulk SMS API, you can integrate your systems to automatically leverage on the instant delivery of SMS to generate receipts, alerts and relevant communications to your clients and customers.
GET METHOD
GET PARAMS:
- apikey : Valide API KEY. Get this by clicking the button “GET API KEY & PARTNER ID” in your account.
- partnerID : Valid Partner ID. Get this by clicking the button “GET API KEY & PARTNER ID” in your account.
- message : URL Encoded Text Message with valid GSM7 Characters
- shortcode : Valid Sender ID / Shortcode
- mobile : Valid Mobile Number
POST METHOD
REQUEST ENDPOINT: https://sms.teamweb.africa/api/services/sendsms/
SAMPLE RESPONSE
SCHEDULING MESSAGES
For messages to be sent at a future time, you will need to pass an optional parameter timeToSend with a valid date string that resolves to a Unix timestamp or the unix timestamp itself.
SENDING BULK MESSAGES
You can now send up to 20 bulk messages in one single call by using the our newest API endpoint:
API URL ENDPOINT: : https://sms.teamweb.africa//api/services/sendbulk/
Sample Request Body
Sample Response:
GETTING DELIVERY REPORTS
ENDPOINT URL: https://sms.teamweb.africa/api/services/getdlr/
SAMPLE REQUEST BODY
GETTING ACCOUNT BALANCE
ENDPOINT URL: https://sms.teamweb.africa/api/services/getbalance/
SAMPLE REQUEST BODY
GETTING ACCOUNT BALANCE
- 200;Successful Request Call
- 1001;Invalid sender id
- 1002;Network not allowed
- 1003;Invalid mobile number
- 1004;Low bulk credits
- 1005;Failed. System error
- 1006;Invalid credentials
- 1007;Failed. System error
- 1008;No Delivery Report
- 1009;unsupported data type
- 1010;unsupported request type
- 4090;Internal Error. Try again after 5 minutes
- 4091;No Partner ID is Set
- 4092;No API KEY Provided
- 4093;Details Not Found