Specifications

Appendix A – Application Programming Interface (API)
79 MultiModem® iSMS System Administrator’s Guide
Authenticating API Requests
The system needs to authenticate any API request. As such, the authentication credentials are included in the "Send SMS
URL" or “Send SMS TCP” command.
user - The username of the account, which has a maximum of 50 bytes.
passwd - The password of the account, which has a maximum of 50 bytes.
This user is Admin or the configured Send Users.
Ensure that every "Send SMS URL" has the username and password, and every request is authenticated by the
MultiModem iSMS.
Sending to a Number
HTTP API format is:
http://192.168.2.1[:portnumber]/sendmsg?user=user1&passwd=puser1&cat=1[&enc=0]
[&priority=1][&modem=1]&to=”7657867765”&text=message
The parameters are:
Parameter Description
cat Category
1 - Send SMS
2 - Broadcast Trigger
3 - Action Trigger
enc Encoding type to send SMS(Optional field)
Range: 0 to 3
0 - SMS text is in ASCII form
1 - SMS text in Extended ASCII form
2 - SMS text in hexadecimal form. Each hexadecimal value length is maximum 4 and each hexadecimal
value is separated by a semi-colon. Example: 0645;41;646.
3 - SMS text is in decimal form. Each decimal Value length is maximum 5. Use a semi-colon to separate
each decimal value. Example: 1605;65;65300. The maximum decimal value allowed is 65535
If enc is not specified in the send API request, default enc is the configured settings in SMS settings
page.
Examples
enc=2, if Unicode is enabled.
enc=1, if Extended ASCII is enabled.
enc=0, if both Extended ASCII and Unicode are disabled.
priority Priority to send SMS (Optional field)
Range: 1 to 3
1 - Low Priority
2 - Normal Priority
3 - High Priority
If priority is not specified in the request, default priority is normal.
Modem Modem index to send SMS. SF 400/800 models only.
Range : 1 to 4 for SF 400