Send SMS
POST
The Send SMS (POST) API allows you to send bulk or single SMS messages to recipients across any network. The optional network parameter is available in Live mode. TELECEL is the default network. If you select MTN, messages are sent over MTN only when network approval is in place; otherwise, they fall back to TELECEL. This API requires X-API-VASKEY in the header for authentication. Before you begin, please make sure you've followed our Getting Started guide.
history
Request History
Your request history will appear here.
Body Params
typeintegerrequired
ID of the sms sending function. Must be 1.
senderidstringrequired
Your registered and approved Sender ID (max 11 chars).
networkstring
Network to use for SMS delivery.
messagesarrayrequired
An array of message objects.
Message 1
Responses
RESPONSE BODY
statusinteger
1 for success
codestring
SMS01
messagestring
Success
datanull
No extra data
gonull
Navigation hint
RESPONSE BODY
statusinteger
0 for failure
codestring
ASMS07
messagestring
Error message
datastring
Field causing error
gonull
Navigation hint
RESPONSE BODY
statusinteger
0 for failure
codestring
AIN01
messagestring
Authentication Error
datanull
No extra data
gonull
Navigation hint
