Find documentation for our API below:
API URL:
http://api.smsey.com/?user=$username&password=$password&sender=$brand&SMSText=$message&IsFlash=0&GSM=$mobile
API URL OUTPUT:
<?xml version="1.0" encoding="UTF-8"?>
<results>
<result>
<status>0</status>
<messageid>2241217253534345801</messageid>
<destination>25472X123456</destination>
</result>
</results>
STATUS:
STATUS | VALUE | DESCRIPTION |
---|---|---|
ALL_RECIPIENTS_PROCESSED | 0 | Request was successful (all recipients) |
SEND_ERROR | -1 | Error in processing the request |
NOT_ENOUGH_CREDITS | -2 | Not enough credits on a specific account |
NETWORK_NOTCOVERED | -3 | Targeted network is not covered on specific account |
INVALID_USER_OR_PASS | -5 | Username or password is invalid |
MISSING_DESTINATION_ADDRESS | -6 | Destination address is missing in the request |
MISSING_USERNAME | -10 | Username is missing in the request |
MISSING_PASSWORD | -11 | Password is missing in the request |
INVALID_DESTINATION_ADDRESS | -13 | Number is not recognized by the platform |
SYNTAX_ERROR | -22 | Incorrect XML format, caused by syntax error |
ERROR_PROCESSING | -23 | General error, reasons may vary |
COMMUNICATION_ERROR | -26 | General API error, reasons may vary |
INVALID_SENDDATETIME | -27 | Invalid scheduling parametar |
INVALID_DELIVERY_REPORT_PUSH_ |
-28 | Invalid PushURL in the request |
INVALID_CLIENT_APPID | -30 | Invalid APPID in the request |
DUPLICATE_MESSAGEID | -33 | Duplicated MessageID in the request |
SENDER_NOT_ALLOWED | -34 | Sender name is not allowed |
GENERAL_ERROR | -99 | Error in processing request, reasons may vary |