NXS-9750 Users Manual-3.5 PDF
NXS-9750 Users Manual-3.5 PDF
NXS-9750-3G
NXS-9750-4G
User’s Manual
Congratulations
on purchasing
SMSEAGLE
Basic Operations....................................................................................................................................................... 16
Compose SMS....................................................................................................................................................... 17
Folders .................................................................................................................................................................... 18
Phonebook............................................................................................................................................................. 19
Settings .................................................................................................................................................................. 21
Blacklist .................................................................................................................................................................. 47
33. Phonebook group remove contact: HTTP GET method .................................................................. 110
53. Phonebook shift add contact: HTTP GET method ............................................................................ 138
Plugins and integration manuals for NMS & Auth systems ..................................................................... 154
Troubleshooting..................................................................................................................................................... 170
Your SMSEagle is designed so that you can set it up quickly and start using it right away. Follow the steps
below to get started.
Please install SIM Card when the device is SWITCHED OFF. SIM Card slots is located at the bottom of the
device. Use a ball-pen or small screwdriver to eject SIM Card tray. Insert card into tray and push it gently into
slot.
DHCP CLIENT IS ON
C) LOG IN TO SMSEAGLE
Open an internet browser on your PC and go to the IP address assigned to your gateway
Username: admin
Password: password
Disable DHCP server. Enter your IP settings. > Press “Save” button.
If your SIM-card requires PIN number at startup, go to Settings > Maintenance Tab.
Enter your PIN number in the field “SIM Card PIN”
By default SMSEagle webGUI can be accessed via HTTP or HTTPS. For improved security we recommend
using HTTPS. If you would like to redirect HTTP > HTTPS, follow this knowledgebase article.
SMSEagle device comes with a self-signed SSL certificate. You may install your own SSL certificate or a free
Let’s Encrypt SSL certificate by following these knowledgebase articles.
User LED USER LED for user application purpose (not used)
SIM1,2 LEDs Modem 1,2 (optional) LED indicator for modem status (only in 3G
devices)
SMSEagle is capable of working at various screen resolutions, making it accessible for wide range of devices:
computers, laptops, tablets, smartphones, etc.
Open a web browser on your device, type in SMSEagle’s IP address (as set in previous chapter). At login
screen type in your username/password. Default username and password is given in chapter Prepare for
First Start.
• Sending & Receiving SMS (managing messages with Inbox, Outbox, Sent Items)
• Smartphone-like conversation mode (messages are nicely grouped by phone number). You can
easily track history of what you send and receive
• Different message types (normal SMS, flash, WAP push, USSD codes)
• Multiuser support (each user has access to a private Inbox, Outbox, Sent Items)
Compose SMS
Here we show the various ways of sending an SMS form your device.
• Send SMS to contact from phonebook, input manually or import from file
• When importing from file each column can be used as a placeholder in the message. During sending
the placeholder will be replaced by a unique value for each imported row from CSV file.
• Set send date to now, at a date and time, after a delay, or between selected hours
• Set duration validity of SMS
• Type of SMS, normal, flash, WAP Push Link or USSD Code
• Set a message template to be saved and used at another time
• Send as Unicode (for special character use)
• Send message or Send and Repeat (window remains open, allowing modifications to next message)
Folders
Folders contain your messages. They are conveniently grouped into 5 categories:
• Inbox
• Outbox
• Sent Items
• Spam
• Trash
The view of conversations can be either of type “Baloons” (smartphone like conversation) or “Table” (tabular
view). The view type can be changed in menu Settings > Application.
Phonebook
Web-GUI of SMSEagle device is equipped with Phonebook for managing contacts, groups and shifts. Each
user can create private and public contacts, gather contacts in private and public groups. Contacts can also
be optionally assigned to working shifts. Contacts and groups from Phonebook allows users efficient
sending of messages.
Phonebook Contacts
Below we present a main Phonebook view, where user manages his Contacts.
Public contacts are visible to all users on the device while private contacts are visible to single user.
• Add/edit/delete groups
• Set groups to public or private visbility
• View group content (contacts beloning to the group)
• Send message to a group
Reporting module
Reporting module is an extension of basic search feature. The module allows users to filter messages from
Inbox/Sent items folders based on custom criteria and display filtered messages. Filtered list of messages
can be exported to PDF or CSV file.
Statistics view
The reporting module allows also to view daily statistics of sent/received messages. The statistics view
displays number of messages per day and sender/receiver number.
Settings
• You can change the language of the application to English, French, German, Polish or Spanish
• You can change the country dial code to your country (this setting affects only correct assignment
of phone numbers to phonebook entries)
• You can sort the conversation to show messages either “Newest First” or “Oldest First”
• You can change the conversation view to either “Table” (tabular vier) or “Balloons” (smartphone-like
view), as shown in Folders chapter
• You can adjust the amount of data displayed on one page to 10, 15, 20, 25, 50, 100, 250 or Show all
• You can set for the messages to be permenantly deleted or be moved to Trash first
• You can set the receiving of delivery reports to Yes, No or Default (network carrier setting)
• You can set the visibility of the Inbox content to All users or Only admins
• You can set access of the reporting module to All users or Only admins
• You can enable the autoresponder for incoming MMS messages
Basic features of SMSEagle software are extended by plugins that provide extra features to the software.
Below you will find a description of plugins available in each SMSEagle device. All plugins are an integral part
of SMSEagle software. That means that all described plugins are installed in a standard software of SMSEagle
device and are available for free.
Autoreply plugin
Plugin allows to automatically respond to each received message with defined text response.
PLUGIN CONFIGURATION
Plugin “Autoreply” allows to add many autoreply rules. Each rule can be enabled or disabled by user.
Plugin also allows to define sending limit for autoreply messages. It is possible to set limitation of max 5
messages / 10 minutes / phone number.
SMSEagle is equipped with network monitoring features. With that features you can monitor any device or
service that operates ICMP, TCP, UDP or SNMP protocol. SMSEagle Network Monitoring plugin sequentially
controls availability of defined hosts/services in Network Monitoring feature and sends defined SMS alert
when host/service is unavailable/goes back to life or when SNMP return value reaches required criteria.
Below you will find a brief overview of plugin capabilities.
Define a schedule
Define your SMS messages when host or service becomes unavailable/comes back to life. Choose field
placeholders for your SMS text:
If monitoring period value is too small (there are too many monitoring tasks to perform in parallel), the
software will adjust the value to ensure optimal workload and performance of your device.
REPORTS
This tab allows you to view reports of task errors in the Network Monitor for a selected period of time.
BASIC USAGE
If the plugin is enabled, email sent to the email address:
PHONE_NUMBER@IP_ADDRESS_OF_SMSEAGLE will be converted to SMS message.
SEND TO USERNAME/GROUP
Email sent to the email address:
NAME_IN_PHONEBOOK@IP_ADDRESS_OF_SMSEAGLE will be converted to SMS message and will be
sent to a user or users’ group from SMSEagle’s phonebook.
Example: email message sent to the address: [email protected] will be converted to SMS
message and delivered to all members of db-admin group. The db-admin group must be defined in your
SMSEagle phonebook.
If you send email with subject containing FLAG=VALUE the flag will be set for this particular
email2SMS message.
Example 1: email message with subject containing modem_no=2 will be converted to SMS message and
sent via modem number 2.
Example 2: email message with subject containing date=201801010005&modem_no=2 will be converted
to SMS message and sent on 2018-01-01 00:05 via modem number 2.
To send an SMS using Email2SMS Poller you have to send an email to a specified email account, with the
email subject containing a mobile number (or multiple phone numbers separated with comma) or
phonebook contact/group name.
BASIC EXAMPLE
For example, such email message:
TO: [email protected]
FROM: [email protected]
SUBJECT: +48333444555
BODY: Hello world!
In this case SMSEagle gateway will fetch an incoming email from [email protected] account and
send its body as SMS message to +48333444555 mobile number.
SEND TO USERNAME/GROUP
If you want to send SMS to a contact or group from SMSEagle phonebook, put the contact/group name in
SUBJECT field.
Notice:
Messages that are processed by Email2SMS Poller (but not deleted) are marked in the mailbox as read.
Software is based on flagging messages- Read/Unread. Marking a read message in the mailbox as unread
will result in being processed again by Email2SMS Poller. We suggest using a separate email account to
avoid situation with resending the same message (marking unread already processed read message).
• if you want to use the plugin, set ‘Enable Email2SMS Poller’ to ‘Yes’
• Set email fetching interval (in seconds)
• the text of an email will be cropped to the value ‘Maximum number of characters. Maximum
allowed length of SMS message is 1300 characters.
• If you want to include special national characters, enable "Unicode encoding of SMS text"
• Choose protocol from IMAP or POP3
• Provide mailbox configuration (host, port, user, password, encryption settings)
• If you want to delete emails from the mailbox after they are fetched by Email2SMS Poller, please
mark "Delete emails from server after processing"
SMS to Email plugin allows you to forward incoming SMS messages to email address.
PLUGIN CONFIGURATION
• if you want to use the plugin, set ‘Enable forwarding to email’ to ‘Yes’
• choose a type of email forwarding: “To email of last sending user” (so called “Two-way Email2SMS
& SMS&Email”) or “To fixed email address”
• enter an email subject
• enter SMTP configuration for your SMTP server that will be used for sending emails
• phone number from incoming SMS (and phonebook contact name if found)
• Date, time when SMS is received
• SMS message
Callback URL plugin allows you to forward incoming SMS message to a defined URL address. If the plugin is
enabled, on each incoming SMS message SMSEagle will trigger HTTP(S) request to a defined URL. HTTP(S)
request can be of type GET or POST.
PLUGIN CONFIGURATION
Plugin “Callback URL” allows to add unlimited number of rules. Each rule can be enabled or disabled by user.
After sending HTTP(S) GET/POST request to your callback URL, SMSEagle will be expecting HTTP response:
200 [OK]. If other or no response is received from your callback URL, SMSEagle will keep retrying every X
minute for 24 hours. Retry interval can be set in main plugin Window:
The plugin “SMS forward” allows to forward incoming SMS messages to one/may recipients according to
defined rules.
PLUGIN CONFIGURATION
Plugin “SMS Forward” allows to add many forwarding rules. Each rule can be enabled or disabled by user.
• When incoming SMS should be forwarded (Rule type) and to what number(s) the message should
be forwarded (SMS Recipient).
• Whether or not include in SMS a sender number from which original SMS came from.
• When defining a rule user can choose SMS recipient (who gets the forwarded SMS). It can be
either phone number or name of group from phonebook.
• User may define many forwarding rules in the plugin.
• Message header can be set to include original sender number or not to include.
• Each rule is processed independently.
• There is a possibility to enable/disable each rule.
The plugin “Periodic SMS” allows to send SMS messages or USSD codes at a desired time interval. User may
define many sending rules, and each rule will be processed independently.
PLUGIN CONFIGURATION
Plugin “Periodic SMS” allows to add many sending rules. Each rule can be enabled or disabled by user.
Digital input/output
The NXS- family of SMSEagle devices is equipped with digital inputs (DI) and digital outputs (DO). The digital
inputs can be used to receive signals from outside sensors or devices and automatically trigger sending of
SMS message based on input state. On the other hand the digital outputs may be used to activate external
devices connected to the outputs when certain SMS messages are received by SMSEagle.
The logical states of inputs and outputs of SMSEagle NXS-family of devices are represented by the following
states:
Warning: If you plan to use digital output with relay, it is strongly recommended to connect a separate protection
diode (a.k.a. “snubber”) across the relay coil terminals as well. A diode snubber circuit can be added when ordering
from some relay manufacturers. This diode is installed in the direction that does not ordinarily allow current to
conduct. When current to the inductive load is rapidly interrupted, a large voltage spike is produced in the reverse
direction as the inductor attempts to keep current flowing in the circuit. Placing the snubber diode in parallel with the
inductive load for reversed-bias flow allows the current from the inductor to flow through the diode rather than
through the switching element, dissipating the energy stored in the inductive load from its series resistance and
instead goes through the much smaller resistance of the diode.
Digital Input - connection example with a device with open collector output
DIGITAL INPUTS
For each processing rule for digital input user can define:
DIGITAL OUTPUTS
For each processing rule for digital output user can define:
The NXS-family of SMSEagle devices is equipped with internal temperature and humidity sensor. The
DHT22 sensor allows to measure temperature with ±0.5°C accuracy and humidity with ±2% RH accuracy.
The measured temperature and humidity values can be displayed in web-gui of SMSEagle and used to
trigger SMS message to single/many recipients.
For each processing rule for digital output user can define:
The LDAP plugin allows to access Active Directory (hereinafter referred to as “AD”) and read contacts and
groups in SMSEagle web-GUI. The plugin can work with either Active Directory or OpenLDAP protocol type.
PLUGIN CONFIGURATION
Choose “LDAP” from left side menu in SMSEagle web-GUI to access plugin configuration. After enabling the
plugin, user needs to fill in all requested fields according to AD settings.
In the “AD phone attribute” field user needs to choose which phone attribute from AD will be shown in
SMSEagle web-gui.
Click “Save” and “Test connection” to make sure that SMSEagle is connected with AD server.
With connection established, AD contacts/groups suggestions are shown in selected modules of Web-GUI.
Start typing any part of contact/group name or number to show AD contact suggestions.
LDAP directory suggestions can be used in “Compose”, “Autoreply” and “Digital input/output” modules.
Blacklist
This feature allows you to add a number to a Blacklist. When a number is on this list, the device
automatically blocks any sent and received SMS from the number as well as deletes the messages from
your inbox.
SMSeagle NXS-9750 is equipped with two built-in modems. You can manage modem settings in web-gui
menu Settings > Maintenance Tab. There are following options available for multimodem device:
• Round-robin
In this strategy modems are selected sequentially one-by-one when sending out SMS messages.
This means that device sends messages using modem1 > modem2 > modem1 > modem2, etc.
• SIM1 as Master modem
In this strategy modem1 is always selected when sending out SMS messages. If failover is enabled
(see below) modem2 will be always used as a backup in failover strategy
• SIM2 as Master modem
In this strategy modem1 is always selected when sending out SMS messages. If failover is enabled
(see below) modem2 will be always used as a backup in failover strategy
SMSEagle has powerful built-in REST API functionalities. API is dedicated for integration of SMSEagle with
any external system or application. Below you will find a detailed description of API functionalities.
Please note, that SMSEagle API supports both HTTP and HTTPS protocol.
For your convenience sample usage of SMSEagle’s API in most popular programming languages are available
at: http://www.smseagle.eu/code-samples/
0. API Authentication
Before you can start using API, first you need to enable API access.
EXAMPLES OF AUTHENTICATION:
• with access token
https://url-of-smseagle/http_api/send_sms?access_token=0001gOjCOlMH8F2q
• with login and password
https://url-of-smseagle/http_api/send_sms?login=john&pass=doe
API credentials created here will be used to authenticate in all API methods (see descriptions below).
PARAMETERS:
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
date (optional parameter) date and time in format YYYYmmDDHHMM (YYYY – year,
mm – month, DD – day, HH – hour, MM – minute). If this parameter is not null
SMS will be scheduled for sending at the given date and time
highpriority (optional parameter) 0 = normal priority, 1 = SMS will have higher priority in
Outbox queue when processed by GSM-modem
flash (optional parameter) 0 = normal SMS (default), 1 = SMS will be sent as flash
message
modem_no (optional parameter) sending modem number (only for multimodem devices)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
validity (optional parameter) How long will be the message valid. If message expires
before it is received by a phone, the message will be discarded by cellular
network. Acceptable parameter values: 5m, 10m, 30m, 1h, 2h, 4h, 12h, 1d, 2d,
5d, 1w, 2w, 4w, max. Default value: max
send_after (optional parameter) send a message after specified time. It can be used to
prevent messages from being sent at night. Format: HH:MM:SS (HH – hour, MM
– minute, SS – second)
send_before (optional parameter) send a message before specified time. It can be used to
prevent messages from being sent at night. Format: HH:MM:SS (HH – hour, MM
– minute, SS – second)
EXAMPLES:
https://url-of-smseagle/http_api/send_sms?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&to=1234567&message=mymessage
https://url-of-smseagle/http_api/send_sms?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&to=1234567&message=mymessage&
date=201401152132
https://url-of-smseagle/http_api/send_sms?
RESPONSE:
Response: OK; ID=[ID of message in outbox]
Sample response: OK; ID=297
RESPONSE (XML):
Response:
<xml>
<message_id>[ID of message in outbox]</message_id>
<status>ok</status>
</xml>
Sample response:
<xml>
<message_id>297</message_id>
<status>ok</status>
</xml>
Important notice: You must encode URL before sending it to gateway if you use national characters in SMS
message text.
PARAMETERS:
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
date (optional parameter) date and time in format YYYYmmDDHHMM (YYYY – year,
mm – month, DD – day, HH – hour, MM – minute). If this parameter is not null
SMS will be scheduled for sending at the given date and time
highpriority (optional parameter) 0 = normal priority, 1 = SMS will have higher priority in
Outbox queue when processed by GSM-modem
flash (optional parameter) 0 = normal SMS (default), 1 = SMS will be sent as flash
message
modem_no (optional parameter) sending modem number (only for multimodem devices)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
validity (optional parameter) How long will be the message valid. If message expires
before it is received by a phone, the message will be discarded by cellular
network. Acceptable parameter values: 5m, 10m, 30m, 1h, 2h, 4h, 12h, 1d, 2d,
5d, 1w, 2w, 4w, max. Default value: max
send_after (optional parameter) send a message after specified time. It can be used to
prevent messages from being sent at night. Format: HH:MM:SS (HH – hour, MM
– minute, SS – second)
SAMPLE BODY:
{"method":"sms.send_sms",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"to":"481234567
″,"message":"My message"}}
or
{"method":"sms.send_sms",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"to":"481234567
″,"message":"My message","date":"201401152132″}}
or
{"method":"sms.send_sms",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"to":"481234567
″,"message":"My message","highpriority":"1″}}
RESPONSE:
Response: {"result": "OK; ID=[ID of message in outbox]"}
Sample response: {"result": "OK; ID=297"}
RESPONSE (EXTENDED):
Response:
{"result": {"message_id":"[ID of message in outbox]","status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
groupname group name defined in your SMSEagle Phonebook. The group must be defined as
Public
date (optional parameter) date and time in format YYYYmmDDHHMM (YYYY – year,
mm – month, DD – day, HH – hour, MM – minute). If this parameter is not null
SMS will be scheduled for sending at the given date and time
highpriority (optional parameter) 0 = normal priority, 1 = SMS will have higher priority in
Outbox queue when processed by GSM-modem
flash (optional parameter) 0 = normal SMS (default), 1 = SMS will be sent as flash
message
modem_no (optional parameter) sending modem number (only for multimodem devices)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
validity (optional parameter) How long will be the message valid. If message expires
before it is received by a phone, the message will be discarded by cellular
network. Acceptable parameter values: 5m, 10m, 30m, 1h, 2h, 4h, 12h, 1d, 2d,
5d, 1w, 2w, 4w, max. Default value: max
send_after (optional parameter) send a message after specified time. It can be used to
prevent messages from being sent at night. Format: HH:MM:SS (HH – hour, MM
– minute, SS – second)
send_before (optional parameter) send a message before specified time. It can be used to
prevent messages from being sent at night. Format: HH:MM:SS (HH – hour, MM
– minute, SS – second)
EXAMPLES:
https://url-of-smseagle/http_api/send_togroup?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&groupname=admins&message=myme
ssage
https://url-of-smseagle/http_api/send_togroup?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&groupname=admins&message=myme
ssage&date=201401152132
https://url-of-smseagle/http_api/send_togroup?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&groupname=admins&message=myme
ssage&highpriority=1
RESPONSE:
Response: OK; ID=[ID of message in outbox]
RESPONSE (XML):
Response:
<xml>
<message_id>[ID of message in outbox]</message_id>
<status>ok</status>
</xml>
Sample response:
<xml>
<message_id>297</message_id>
<status>ok</status>
</xml>
Parameter Description
groupname group name defined in your SMSEagle Phonebook. The group must be defined as
Public
date (optional parameter) date and time in format YYYYmmDDHHMM (YYYY – year,
mm – month, DD – day, HH – hour, MM – minute). If this parameter is not null
SMS will be scheduled for sending at the given date and time
highpriority (optional parameter) 0 = normal priority, 1 = SMS will have higher priority in
Outbox queue when processed by GSM-modem
flash (optional parameter) 0 = normal SMS (default), 1 = SMS will be sent as flash
message
modem_no (optional parameter) sending modem number (only for multimodem devices)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
validity (optional parameter) How long will be the message valid. If message expires
before it is received by a phone, the message will be discarded by cellular
network. Acceptable parameter values: 5m, 10m, 30m, 1h, 2h, 4h, 12h, 1d, 2d,
5d, 1w, 2w, 4w, max. Default value: max
send_after (optional parameter) send a message after specified time. It can be used to
prevent messages from being sent at night. Format: HH:MM:SS (HH – hour, MM
– minute, SS – second)
send_before (optional parameter) send a message before specified time. It can be used to
prevent messages from being sent at night. Format: HH:MM:SS (HH – hour, MM
– minute, SS – second)
EXAMPLES:
{"method":"sms.send_togroup",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"groupname":"ad
mins","message":"mymessage"}}
or
{"method":"sms.send_togroup",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"groupname":"ad
mins","message":"mymessage","date":"201401152132"}}
or
{"method":"sms.send_togroup",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"groupname":"ad
mins","message":"mymessage","highpriority":"1"}}
RESPONSE:
Response: {"result": "OK; ID=[ID of message in outbox]"}
RESPONSE (EXTENDED):
Response:
{"result": {"message_id":"[ID of message in outbox]","status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
contactname contact name (or names separated by comma) defined in your SMSEagle
Phonebook. Contacts must be defined as Public
date (optional parameter) date and time in format YYYYmmDDHHMM (YYYY – year,
mm – month, DD – day, HH – hour, MM – minute). If this parameter is not null
SMS will be scheduled for sending at the given date and time
highpriority (optional parameter) 0 = normal priority, 1 = SMS will have higher priority in
Outbox queue when processed by GSM-modem
flash (optional parameter) 0 = normal SMS (default), 1 = SMS will be sent as flash
message
modem_no (optional parameter) sending modem number (only for multimodem devices)
validity (optional parameter) How long will be the message valid. If message expires
before it is received by a phone, the message will be discarded by cellular
network. Acceptable parameter values: 5m, 10m, 30m, 1h, 2h, 4h, 12h, 1d, 2d,
5d, 1w, 2w, 4w, max. Default value: max
send_after (optional parameter) send a message after specified time. It can be used to
prevent messages from being sent at night. Format: HH:MM:SS (HH – hour, MM
– minute, SS – second)
send_before (optional parameter) send a message before specified time. It can be used to
prevent messages from being sent at night. Format: HH:MM:SS (HH – hour, MM
– minute, SS – second)
EXAMPLES:
https://url-of-smseagle/http_api/send_tocontact?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&contactname=johndoe&message=m
ymessage
https://url-of-smseagle/http_api/send_tocontact?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&contactname=johndoe&message=m
ymessage&date=201401152132
https://url-of-smseagle/http_api/send_tocontact?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&contactname=johndoe&message=m
ymessage&highpriority=1
RESPONSE:
Response: OK; ID=[ID of message in outbox]
Sample response: OK; ID=297
RESPONSE (XML):
Response:
<xml>
<message_id>[ID of message in outbox]</message_id>
<status>ok</status>
</xml>
Sample response:
<xml>
<message_id>297</message_id>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
contactname contact name defined in your SMSEagle Phonebook. The contact must be
defined as Public
date (optional parameter) date and time in format YYYYmmDDHHMM (YYYY – year,
mm – month, DD – day, HH – hour, MM – minute). If this parameter is not null
SMS will be scheduled for sending at the given date and time
highpriority (optional parameter) 0 = normal priority, 1 = SMS will have higher priority in
Outbox queue when processed by GSM-modem
flash (optional parameter) 0 = normal SMS (default), 1 = SMS will be sent as flash
message
modem_no (optional parameter) sending modem number (only for multimodem devices)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
validity (optional parameter) How long will be the message valid. If message expires
before it is received by a phone, the message will be discarded by cellular
network. Acceptable parameter values: 5m, 10m, 30m, 1h, 2h, 4h, 12h, 1d, 2d,
5d, 1w, 2w, 4w, max. Default value: max
send_after (optional parameter) send a message after specified time. It can be used to
prevent messages from being sent at night. Format: HH:MM:SS (HH – hour, MM
– minute, SS – second)
send_before (optional parameter) send a message before specified time. It can be used to
prevent messages from being sent at night. Format: HH:MM:SS (HH – hour, MM
– minute, SS – second)
EXAMPLES:
{"method":"sms.send_tocontact",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"contactname":"
johndoe","message":"mymessage"}}
or
{"method":"sms.send_tocontact",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"contactname":"
johndoe","message":"mymessage","date":"201401152132"}}
or
{"method":"sms.send_tocontact",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"contactname":"
johndoe","message":"mymessage","highpriority":"1"}}
RESPONSE:
Response: {"result": "OK; ID=[ID of message in outbox]"}
Sample response: {"result": "OK; ID=[297]"}
RESPONSE (EXTENDED):
Response:
Parameters:
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
modem_no (optional parameter) sending modem number (only for multimodem devices)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/send_ussd?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&to= %2A101%23
RESPONSE:
Response: OK; ID=[ID of message in outbox]
Sample response: OK; ID=297
Sample response:
<xml>
<message_id>297</message_id>
<status>ok</status>
</xml>
Important notice: You must urlencode USSD code before sending it to gateway. Response from GSM/3G network
will show up in device Inbox folder.
Parameters:
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
to USSD code
modem_no (optional parameter) sending modem number (only for multimodem devices)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
SAMPLE BODY:
{"method":"sms.send_ussd",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"to":"*101#″}}
RESPONSE:
Response: {"result": "OK; ID=[ID of message in outbox]"}
Sample response: {"result": "OK; ID=297"}
RESPONSE (EXTENDED):
Response:
{"result": {"message_id":"[ID of message in outbox]","status":"ok"}}
Important notice: Response from GSM/3G network will show up in device Inbox folder.
PARAMETERS:
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
udh (optional parameter) UDH header for the message (in hex format)
modem_no (optional parameter) sending modem number (only for multimodem devices)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/send_binary_sms?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&to=1234567&udh=0605040B8423F0
&data=EA0601AE02056A0045C60C037777772E736D736561676C652E657500080103534D534
561676C65000101
RESPONSE:
Response: OK; ID=[ID of message in outbox]
Sample response: OK; ID=297
RESPONSE (XML):
Response:
<xml>
<message_id>[ID of message in outbox]</message_id>
<status>ok</status>
</xml>
Sample response:
<xml>
<message_id>297</message_id>
<status>ok</status>
</xml>
PARAMETERS:
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
udh (optional parameter) UDH header for the message (in hex format)
modem_no (optional parameter) sending modem number (only for multimodem devices)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
EXAMPLES:
{"method":"sms.send_binary_sms",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"to":"1234567",
"udh":"0605040B8423F0","data":"EA0601AE02056A0045C60C037777772E736D73656167
6C652E657500080103534D534561676C65000101"}}
RESPONSE (EXTENDED):
Response:
{"result": {"message_id":"[ID of message in outbox]","status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
dateto (optional parameter) date and time in format YYYYmmDDHHMMSS (YYYY – year,
mm – month, DD – day, HH – hour, MM – minutes, SS – seconds). Show only
messages sent/received on this date/time and earlier
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
createdby (optional parameter) username or email (if message was sent via Email to SMS) of
sending user
modem_no (optional parameter) sending modem number (only for multimodem devices)
EXAMPLES:
Show all messages from inbox:
https://url-of-smseagle/http_api/read_sms?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&folder=inbox
Show messages from inbox folder with sender phone number +481234567:
https://url-of-smseagle/http_api/read_sms?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&folder=inbox&from=+481234567
Show messages from sentitems folder with receiver phone number 7654321 and
datetime from 2014-12-24 08:10:00 to 2014-12-31 23:59:59:
https://url-of-smseagle/http_api/read_sms?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&folder=sentitems&to=7654321&d
atefrom=20141224081000&dateto=20141231235959
RESPONSE:
Sample responses: inbox folder, sentitems folder
Response (when no data): No data to display
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters): Wrong parameters
<Text>004C006F00720065006D00200069007000730075006D00200064006F006C006F00720
02000730069007400200061006D00650074002C00200063006F006E00730065006300740065
007400750072002000610064006900700069007300630069006E006700200065006C0069007
4002E002000430072006100730020006600650072006D0065006E00740075006D0020007500
6C006C0061006D0063006F007200700065007200200065006700650073007400610073002E0
020004E0075006C006C006100200070006C006100630065007200610074002000660069006E
006900620075007300200064006F006C006F0072002C0020006D0061006C006500730075006
10064006100200076006100720069007500730020006C006900670075006C00610020006800
65006E006400720065</Text>
<SenderNumber>+48123456787</SenderNumber>
<Coding>Default_No_Compression</Coding>
<UDH>050003590301</UDH>
<SMSCNumber>+48790998250</SMSCNumber>
<Class>-1</Class>
<TextDecoded>Lorem ipsum dolor sit amet, consectetur adipiscing
elit. Cras fermentum ullamcorper egestas. Nulla placerat finibus dolor,
malesuada varius ligula hendrerit sed. Nullam nisl sapien, molestie rhoncus
<Text>00540065007300740020007700690074006800200075006E00690063006F006400650
0200065006E0063006F00640069006E0067003A00200105014200F30119017A0107</Text>
<DestinationNumber>123456788</DestinationNumber>
<Coding>Unicode_No_Compression</Coding>
<UDH></UDH>
<SMSCNumber>+48601000310</SMSCNumber>
<Class>-1</Class>
<TextDecoded>Test with unicode encoding: ąłóęźć</TextDecoded>
<ID>576</ID>
<SenderID>smseagle2</SenderID>
<SequencePosition>1</SequencePosition>
<Status>SendingOK</Status>
<StatusError>-1</StatusError>
<TPMR>86</TPMR>
<RelativeValidity>255</RelativeValidity>
<CreatorID>admin</CreatorID>
<id_folder>3</id_folder>
<StatusCode>-1</StatusCode>
</item>
<item>
<UpdatedInDB>2018-07-18 14:27:36</UpdatedInDB>
<InsertIntoDB>2018-07-18 14:27:32</InsertIntoDB>
<SendingDateTime>2018-07-18 14:27:36</SendingDateTime>
<DeliveryDateTime></DeliveryDateTime>
<Text>00540065007300740020006F006600200066006C0061007300680020006D006500730
073006100670065</Text>
<DestinationNumber>123456788</DestinationNumber>
<Coding>Default_No_Compression</Coding>
<UDH></UDH>
<SMSCNumber>+48601000310</SMSCNumber>
<Class>0</Class>
<Text>0054006500730074002000770069007400680020006200610064002000700068006F0
06E00650020006E0075006D006200650072</Text>
<DestinationNumber>11</DestinationNumber>
<Coding>Default_No_Compression</Coding>
<UDH></UDH>
<SMSCNumber></SMSCNumber>
<Class>-1</Class>
<TextDecoded>Test with bad phone number</TextDecoded>
<ID>578</ID>
<SenderID>smseagle2</SenderID>
<SequencePosition>1</SequencePosition>
<Status>SendingError</Status>
<StatusError>-1</StatusError>
<TPMR>-1</TPMR>
<RelativeValidity>255</RelativeValidity>
<CreatorID>admin</CreatorID>
<id_folder>3</id_folder>
<StatusCode>21</StatusCode>
</item>
</messages>
<status>ok</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
datefrom (optional parameter) date and time in format YYYYmmDDHHMMSS (YYYY – year,
mm – month, DD – day, HH – hour, MM – minutes, SS – seconds). Show only
messages sent/received on this date/time and later
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
createdby (optional parameter) username or email (if message was sent via Email to SMS) of
sending user
modem_no (optional parameter) sending modem number (only for multimodem devices)
EXAMPLES:
Show all messages from inbox:
{"method":"sms.read_sms",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"folder":"inbox
"}}
Show messages from inbox folder with sender phone number +481234567:
{"method":"sms.read_sms",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"folder":"inbox
","from":" 481234567"}}
Show messages from sentitems folder with receiver phone number 7654321 and
datetime from 2014-12-24 08:10:00 to 2014-12-31 23:59:59:
{"method":"sms.read_sms",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"folder":"senti
tems","to":"7654321","datefrom":"20141224081000","dateto":"20141231235959"}
}
RESPONSE:
Sample response (inbox folder):
{
"result": [
{
"UpdatedInDB": "2018-07-18 13:56:16",
"ReceivingDateTime": "2018-07-17 15:04:04",
"Text": "005400650073007400200031",
"SenderNumber": "+48123456789",
"Coding": "Default_No_Compression",
RESPONSE (EXTENDED):
{
"result": {
"messages": [
{
"UpdatedInDB": "2018-07-18 14:06:06",
"ReceivingDateTime": "2018-07-17 15:04:04",
"Text": "005400650073007400200031",
"SenderNumber": "+48123456789",
"Coding": "Default_No_Compression",
"UDH": "",
"SMSCNumber": "+48790998250",
"Class": "-1",
"TextDecoded": "Test 1",
"ID": "124",
"RecipientID": "smseagle1",
"Processed": "t",
"id_folder": "1",
"readed": "true",
"oid": "",
"Status": "0"
},
{
"UpdatedInDB": "2018-07-18 14:06:06",
"ReceivingDateTime": "2018-07-17 15:04:10",
"Text": "005400650073007400200032",
{
"result": {
"messages": [
{
"UpdatedInDB": "2018-06-07 11:29:56",
"InsertIntoDB": "2018-06-07 11:29:43",
"SendingDateTime": "2018-06-07 11:29:56",
"DeliveryDateTime": "2018-06-07 11:30:05",
"Text": "0074006500730074",
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
Delete message with id=1234 from inbox:
https://url-of-smseagle/http_api/delete_sms?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&folder=inbox&idfrom=1234&idto
=1234
RESPONSE:
Response: OK
Response (when delete operation was not successful): Error
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
RESPONSE (XML):
Response:
<xml>
<status>ok</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
EXAMPLES:
Delete message with id=1234 from inbox:
{"method":"sms.delete_sms",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"folder":"inbox
","idfrom":"1234""idto":"1234"}}
RESPONSE:
Response: {"result": "OK"}
Response (when delete operation was not successful): {"result": "Error"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
RESPONSE (EXTENDED):
Response: {"result":{"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/get_queue_length?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq
RESPONSE:
Response: [number of messages in database that wait to be processed by GSM-modem]
Sample response: 7
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters): Wrong parameters
RESPONSE (XML):
Response:
<xml>
<queue_length>
[number of messages in database that wait to be processed by GSM-modem]
</queue_length >
<status>ok</status>
</xml>
Sample response:
<xml>
<queue_length>7</queue_length >
<status>ok</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
BODY:
{"method":"sms.get_queue_length",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”}}
RESPONSE:
Response: {"result": [number of messages in database that wait to be
processed by GSM-modem]}
Sample response: {"result":7}
Response: {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response: {"result": "Wrong parameters"}
RESPONSE (EXTENDED):
Response:
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/get_inbox_length?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq
RESPONSE:
Response: [number of messages in database Inbox folder]
Sample response: 3
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters): Wrong parameters
RESPONSE (XML):
Response:
<xml>
<queue_length>
[number of messages in database Inbox folder]
</queue_length>
<status>ok</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
EXAMPLES:
{"method":"sms.get_inbox_length",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”}}
RESPONSE:
Response: {"result": "[number of messages in database Inbox folder]"}
RESPONSE (EXTENDED):
Response:
{"result":{"inbox_length":[number of messages in database Inbox
folder],"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/get_sentitems_length?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq
RESPONSE:
Response: [number of messages in database Sentitems folder]
Sample response: 21
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters): Wrong parameters
Sample response:
<xml>
<sentitems_length>21</sentitems_length>
<status>ok</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
RESPONSE:
Response: {"result": "[number of messages in database Sentitems folder]"}
Sample response: {"result": "21"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters): {"result": "Wrong parameters"}
RESPONSE (EXTENDED):
Response:
{"result":{"sentitems_length":[number of messages in database Sentitems
folder],"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
modem_no (optional parameter) modem number to be queried (default = 1). Used only in
multimodem devices
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/get_gsmsignal?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&modem_no=1
RESPONSE (XML):
Response:
<xml>
<signal_strength>
[GSM signal strength in percent (values between 0-100)]
</signal_strength>
<status>ok</status>
</xml>
Sample response:
<xml>
<signal_strength>74</signal_strength>
<status>ok</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
modem_no (optional parameter) modem number to be queried (default = 1). Used only in
multimodem devices
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
BODY:
{"method":"signal.get_gsmsignal",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”}}
RESPONSE:
Response: {"result": GSM/3G signal strength in percent: values between 0-100.
If 3G modem is disconnected from GSM/3G network, method returns -1 }
Sample response: {"result":7}
Response: {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response: {"result": "Wrong parameters"}
RESPONSE (EXTENDED):
Response:
{"result":{"signal_strength":[number of messages in database Sentitems
folder],"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/group_create?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&groupname=myusers&public=1
RESPONSE:
Response: OK; ID=[ID of created group]
Sample response: OK; ID=5
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters): Wrong or missing >>groupname<< parameter
RESPONSE (XML):
Response:
<xml>
<group_id>[ID of created group]</group_id>
<status>ok</status>
</xml>
Sample response:
<xml>
<group_id>5</group_id>
<status>ok</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
EXAMPLES:
{"method":"phonebook.group_create",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"groupname":"my
users","public":"1"}}
RESPONSE:
Response: {"result": "OK; ID=[ID of created group]"}
Sample response: {"result": "OK; ID=5"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters): {"result": "Wrong or missing >>groupname<<
parameter"}
RESPONSE (EXTENDED):
Response:
{"result": {"group_id":"[ID of created group]","status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/group_read?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&public=1&uid=12
RESPONSE:
Sample response: link
Response (when no data): No data to display
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters):
Wrong or missing >>uid<< parameter
Wrong or missing >>public<< parameter
RESPONSE (XML):
Sample response:
<xml>
<groups>
<item>
<Name>private</Name>
<ID>2</ID>
<id_user>2</id_user>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
EXAMPLES:
{"method":"phonebook.group_read",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"public":"1","u
id":"12"}}
RESPONSE:
Sample response:
{"result":[
{"Name":"private","ID":"2","id_user":"1","is_public":"true"},
{"Name":"Everyone","ID":"3","id_user":"1","is_public":"true"},
{"Name":"work","ID":"4","id_user":"2","is_public":"true"}
]}
Response (when no data): {"result": "No data to display"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters):
{"result": "Wrong or missing >>uid<< parameter"}
{"result": "Wrong or missing >>public<< parameter"}
RESPONSE (EXTENDED):
Sample response:
{"result":[ {"groups":[
{"Name":"private","ID":"2","id_user":"1","is_public":"true"},
{"Name":"Everyone","ID":"3","id_user":"1","is_public":"true"},
{"Name":"work","ID":"4","id_user":"2","is_public":"true"}
],"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/group_update?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&group_id=2&groupname=myusers&
public=1
RESPONSE:
Response: OK
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters):
Wrong or missing >>groupname<< parameter
Wrong or missing >>group_id<< parameter
Response (when group_id is wrong): Group with the given id does not exists
<xml>
<error_text>Wrong or missing >>group_id<< parameter</error_text>
<status>error</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
EXAMPLES:
{"method":"phonebook.group_update",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"group_id":"2",
"groupname":"myusers","public":"1"}}
RESPONSE:
Response: {"result": "OK"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters):
{"result": "Wrong or missing >>groupname<< parameter"}
{"result": "Wrong or missing >>group_id<< parameter"}
Response (when group_id is wrong): {"result": "Group with the given id does not
exists"}
RESPONSE (EXTENDED):
Response: {"result":{"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/group_delete?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&group_id=2&groupname=myusers
RESPONSE:
Response: OK
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters):
Wrong or missing >>groupname<< parameter
Wrong or missing >>group_id<< parameter
Response (when group_id is wrong): Group with the given id and name does not exist
RESPONSE (XML):
Response:
<xml>
<status>ok</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
EXAMPLES:
{"method":"phonebook.group_delete",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"group_id":"2",
"groupname":"myusers"}}
RESPONSE:
Response: {"result": "OK"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters):
{"result": "Wrong or missing >>groupname<< parameter"}
{"result": "Wrong or missing >>group_id<< parameter"}
Response (when group_id is wrong): {"result": "Group with the given id and name does
not exist"}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/group_addcontact?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&group_id=2&contact_id=1
RESPONSE:
Response: OK
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters):
Wrong or missing >>group_id<< parameter
Wrong or missing >>contact_id<< parameter
Response (when id is wrong):
RESPONSE (XML):
Response:
<xml>
<status>ok</status>
</xml>
<xml>
<error_text>Wrong or missing >>contact_id<< parameter</error_text>
<status>error</status>
</xml>
<xml>
<error_text>Contact with the given id does not exists</error_text>
<status>error</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
EXAMPLES:
{"method":"phonebook.group_addcontact",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"group_id":"2",
"contact_id":"1"}}
RESPONSE:
Response: {"result": "OK"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters):
{"result": "Wrong or missing >>group_id<< parameter"}
{"result": "Wrong or missing >>contact_id<< parameter"}
Response (when id is wrong):
{"result": "Group with the given id does not exists"}
{"result": "Contact with the given id does not exists"}
RESPONSE (EXTENDED):
Response: {"result":{"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/group_removecontact?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&group_id=2&contact_id=1
RESPONSE:
Response: OK
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters):
Wrong or missing >>group_id<< parameter
Wrong or missing >>contact_id<< parameter
Response (when id is wrong):
Group with the given id does not exists
Contact with the given id does not exists
RESPONSE (XML):
Response:
<xml>
<status>ok</status>
</xml>
<xml>
<error_text>Wrong or missing >>contact_id<< parameter</error_text>
<status>error</status>
</xml>
<xml>
<error_text>Contact with the given id does not exists</error_text>
<status>error</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
EXAMPLES:
{"method":"phonebook.group_removecontact",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"group_id":"2",
"contact_id":"1"}}
RESPONSE:
Response: {"result": "OK"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters):
{"result": "Wrong or missing >>group_id<< parameter"}
{"result": "Wrong or missing >>contact_id<< parameter"}
Response (when id is wrong):
{"result": "Group with the given id does not exists"}
{"result": "Contact with the given id does not exists"}
RESPONSE (EXTENDED):
Response: {"result":{"status":"ok"}}
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/contact_create?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&contactname=johndoe&number=12
345678&public=1
RESPONSE:
Response: OK; ID=[ID of created contact]
Sample response: OK; ID=2
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters):
Wrong or missing >>contactname<< parameter
Wrong or missing >>number<< parameter
RESPONSE (XML):
Response:
<xml>
<contact_id>[ID of created contact]</contact_id>
<status>ok</status>
</xml>
Sample response:
<xml>
<contact_id>2</contact_id>
<status>ok</status>
</xml>
<xml>
<error_text>Wrong or missing >>number<< parameter</error_text>
<status>error</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
EXAMPLES:
{"method":"phonebook.contact_create",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"contactname":"
johndoe","number":"12345678","public":"1"}}
RESPONSE:
Response: {"result": "OK; ID=[ID of created contact]"}
Sample response: {"result": "OK; ID=2"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
RESPONSE (EXTENDED):
Response:
{"result": {"contact_id":"[ID of created contact]","status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/contact_read?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&public=1&uid=12
RESPONSE:
Sample response: link
Response (when no data): No data to display
Response (when wrong logindata): Invalid login or password
RESPONSE (XML):
Sample response:
<xml>
<contacts>
<item>
<ID>2</ID>
<GroupID>-1</GroupID>
<Name>John Doe</Name>
<Number>123123123</Number>
<id_user>1</id_user>
<is_public>true</is_public>
</item>
<item>
<ID>4</ID>
<GroupID>-1</GroupID>
<Name>Jan Nowak</Name>
<Number>4215456456</Number>
<id_user>1</id_user>
<is_public>true</is_public>
</item>
<item>
<ID>5</ID>
<GroupID>-1</GroupID>
<Name>Andy</Name>
<Number>+441234155931</Number>
<id_user>1</id_user>
<is_public>true</is_public>
</item>
</contacts>
<status>ok</status>
</xml>
<xml>
<error_text>Wrong or missing >>public<< parameter</error_text>
<status>error</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
EXAMPLES:
{"method":"phonebook.contact_read",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"public":"1","u
id":"12"}}
RESPONSE:
Sample response:
RESPONSE (EXTENDED):
Sample response:
{"result":{"contacts":[
{"ID":"2","GroupID":"-1","Name":"John
Doe","Number":"123123123","id_user":"1","is_public":"false"},
{"ID":"4","GroupID":"-1","Name":"Jan
Nowak","Number":"4215456456","id_user":"1","is_public":"false"},
{"ID":"5","GroupID":"-
1","Name":"Andy","Number":"+441234155931","id_user":"1","is_public":"false"
}
],"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/contact_update?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&contact_id=4&contactname=john
lord&number=123456789&public=1
RESPONSE:
Response: OK
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters):
Wrong or missing >>contactname<< parameter
Wrong or missing >>contact_id<< parameter
Wrong or missing >>number<< parameter
Response (when contact_id is wrong): Contact with the given id does not exists
RESPONSE (XML):
Response:
<xml>
<status>ok</status>
</xml>
<xml>
<error_text>Wrong or missing >>contact_id<< parameter</error_text>
<status>error</status>
</xml>
<xml>
<error_text>Wrong or missing >>number<< parameter</error_text>
<status>error</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
EXAMPLES:
{"method":"phonebook.contact_update",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"contact_id":"4
","contactname":"johnlord","number":"123456789","public":"1"}}
RESPONSE:
Response: {"result": "OK"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters):
{"result": "Wrong or missing >>contactname<< parameter"}
{"result": "Wrong or missing >>contact_id<< parameter"}
{"result": "Wrong or missing >>number<< parameter"}
Response (when contact_id is wrong): {"result": "Contact with the given id does not
exists"}
RESPONSE (EXTENDED):
Response: {"result":{"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/contact_delete?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&contact_id=4&contactname=john
lord
RESPONSE:
Response: OK
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters):
Wrong or missing >>contactname<< parameter
Wrong or missing >>contact_id<< parameter
Response (when contact_id is wrong): Contact with the given id and name does not exists
RESPONSE (XML):
Response:
<xml>
<status>ok</status>
</xml>
<xml>
<error_text>Wrong or missing >>contact_id<< parameter</error_text>
<status>error</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
EXAMPLES:
{"method":"phonebook.contact_delete",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"contact_id":"4
","contactname":"johnlord"}}
RESPONSE:
Response: {"result": "OK"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters):
{"result": "Wrong or missing >>contactname<< parameter"}
{"result": "Wrong or missing >>contact_id<< parameter"}
Response (when contact_id is wrong): {"result": "Contact with the given id and name
does not exists"}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/call_with_termination?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&to=123456789&duration=5
RESPONSE:
Response: OK
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
RESPONSE (XML):
Response:
<xml>
<status>ok</status>
</xml>
Important notice: this method is available only for devices with 3G voice modem
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
modem_no (optional parameter) calling modem number (only for multimodem devices)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
{"method":"phone.call_with_termination",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"to":"123456789
", "duration":"5"}}
RESPONSE:
Response: {"result": "OK"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when modem doesn’t support voice calls): {"result": "This modem doesn't support
voice calls"}
Response (when wrong parameters):
{"result": "Wrong or missing >>to<< parameter"}
{"result": "Wrong or missing >>duration<< parameter"}
Response (when modem_no is wrong): {"result": " Modem not recognized"}
RESPONSE (EXTENDED):
Response: {"result":{"status":"ok"}}
Important notice: this method is available only for devices with 3G voice modem
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/shift_create?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&name=myshift&mon_from=08:00&m
on_to=16:00&wed_from=09:00&wed_to=20:00&enabled=1
RESPONSE:
Response: OK; ID=[ID of created shift]
Sample response: OK; ID=5
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters): Wrong or missing >>name<< parameter
RESPONSE (XML):
Response:
<xml>
Sample response:
<xml>
<shift_id>5</shift_id>
<status>ok</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
RESPONSE:
Response: {"result": "OK; ID=[ID of created shift]"}
Sample response: {"result": "OK; ID=5"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters): {"result": "Wrong or missing >>name<< parameter"}
RESPONSE (EXTENDED):
Response:
{"result": {"shift_id":"[ID of created shift]","status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
RESPONSE:
Sample response: link
Response (when no data): No data to display
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters):
Wrong >>shift_id<< parameter
RESPONSE (XML):
Sample response:
<xml>
<shifts>
<shift>
<id_shift>62</id_shift>
<name>myshift</name>
<mon_from>08:00</mon_from>
<mon_to>16:00</mon_to>
<tue_from/>
<tue_to/>
<wed_from>09:00</wed_from>
<wed_to>20:00</wed_to>
<thu_from/>
<thu_to/>
<fri_from/>
<fri_to/>
<sat_from/>
<sat_to/>
<sun_from/>
<sun_to/>
<enabled>true</enabled>
</shift>
</shifts>
<status>ok</status>
</xml>
Response (when no data):
<xml>
<error_text>No data to display</error_text>
<status>error</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
{"method":"phonebook.shift_read",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"name":"myshift
"}}
{
"result": [
{
"id_shift": "62",
"name": "myshift",
"mon_from": "08:00",
"mon_to": "16:00",
"tue_from": null,
"tue_to": null,
"wed_from": "09:00",
"wed_to": "20:00",
"thu_from": null,
"thu_to": null,
"fri_from": null,
"fri_to": null,
"sat_from": null,
"sat_to": null,
"sun_from": null,
"sun_to": null,
"enabled": "true"
}
]
}
Response (when no data): {"result": "No data to display"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters):
{"result": "Wrong >> enabled<< parameter"}
{"result": "Wrong >>shift_id<< parameter"}
RESPONSE (EXTENDED):
Sample response:
{
"result": {
"shifts": [
{
"id_shift": "62",
"name": "myshift",
"mon_from": "08:00",
"mon_to": "16:00",
"tue_from": null,
"tue_to": null,
"wed_from": "09:00",
"wed_to": "20:00",
"thu_from": null,
"thu_to": null,
"fri_from": null,
"fri_to": null,
"sat_from": null,
"sat_to": null,
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/shift_update?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&shift_id=24&name=updatedshift
&enabled=1
RESPONSE:
Response: OK
Response (when wrong logindata): Invalid login or password
RESPONSE (XML):
Response:
<xml>
<status>ok</status>
</xml>
<xml>
<error_text>Wrong or missing >>shift_id<< parameter</error_text>
<status>error</status>
</xml>
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
{"method":"phonebook.shift_update",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"shift_id":"24"
,"name":"updatedshift","enabled":"1"}}
RESPONSE:
Response: {"result": "OK"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters):
{"result": "Wrong or missing >>name<< parameter"}
{"result": "Wrong or missing >>shift_id<< parameter"}
Response (when shift_id is wrong): {"result": "Shift with the given id does not
exists"}
RESPONSE (EXTENDED):
Response: {"result":{"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/shift_delete?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&shift_id=24
RESPONSE:
Response: OK
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters):
Wrong or missing >>shift_id<< parameter
Response (when shift_id is wrong): Shift with the given id does not exist
RESPONSE (XML):
Response:
<xml>
<status>ok</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
{"method":"phonebook.shift_delete",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"shift_id":"24"
}}
RESPONSE:
Response: {"result": "OK"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters):
{"result": "Wrong or missing >>shift_id<< parameter"}
Response (when shift_id is wrong): {"result": "Shift with the given id does not
exist"}
RESPONSE (EXTENDED):
Response: {"result":{"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/shift_addcontact?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&shift_id=2&contact_id=1
RESPONSE:
Response: OK
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters):
Wrong or missing >>shift_id<< parameter
Wrong or missing >>contact_id<< parameter
Response (when id is wrong):
Shift with the given id does not exists
Contact with the given id does not exists
RESPONSE (XML):
<xml>
<error_text>Wrong or missing >>contact_id<< parameter</error_text>
<status>error</status>
</xml>
<xml>
<error_text>Contact with the given id does not exists</error_text>
<status>error</status>
</xml>
Parameter Description
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
{"method":"phonebook.shift_addcontact",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"shift_id":"24"
,"contact_id":"1"}}
RESPONSE:
Response: {"result": "OK"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters):
{"result": "Wrong or missing >>shift_id<< parameter"}
{"result": "Wrong or missing >>contact_id<< parameter"}
Response (when id is wrong):
{"result": "Shift with the given id does not exists"}
{"result": "Contact with the given id does not exists"}
RESPONSE (EXTENDED):
Response: {"result":{"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/shift_removecontact?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&shift_id=24&contact_id=1
RESPONSE:
Response: OK
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when wrong parameters):
Wrong or missing >>shift_id<< parameter
Wrong or missing >>contact_id<< parameter
Response (when id is wrong):
Shift with the given id does not exists
Contact with the given id does not exists
RESPONSE (XML):
Response:
<xml>
<status>ok</status>
</xml>
<xml>
<error_text>Wrong or missing >>contact_id<< parameter</error_text>
<status>error</status>
</xml>
<xml>
<error_text>Contact with the given id does not exists</error_text>
<status>error</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
{"method":"phonebook.shift_removecontact",
RESPONSE:
Response: {"result": "OK"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when wrong parameters):
{"result": "Wrong or missing >>shift_id<< parameter"}
{"result": "Wrong or missing >>contact_id<< parameter"}
Response (when id is wrong):
{"result": "Shift with the given id does not exists"}
{"result": "Contact with the given id does not exists"}
RESPONSE (EXTENDED):
Response: {"result":{"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
modem_no (optional parameter) modem number to be queried (default = 1). Used only in
multimodem devices
EXAMPLES:
https://url-of-smseagle/http_api/get_modem_state?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&modem_no=1
RESPONSE:
Response: enabled / disabled
Sample response: enabled
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when modem doesn’t exist): Wrong modem number
RESPONSE (XML):
Response:
<xml>
<modem_status>
enabled / disabled
</modem_status>
<status>
ok
</status>
</xml>
Sample response:
<xml>
<modem_status>
enabled
</modem_status>
<status>
ok
</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
modem_no (optional parameter) modem number to be queried (default = 1). Used only in
multimodem devices
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
BODY:
{"method":"sms.get_modem_state",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”}}
RESPONSE:
{"result": enabled / disabled }
Sample response: {"result":"enabled"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when modem doesn’t exist): {"result": "Wrong modem number"}
RESPONSE (EXTENDED):
Response:
{"result":{"modem_status": enabled / disabled,"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
modem_no (optional parameter) modem number for status change (default = 1). Used only in
multimodem devices
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/set_modem_state?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&modem_no=1&status=enabled
RESPONSE:
Response: OK
Response (when wrong logindata): Invalid login or password
Response (when wrong access token): Invalid access token
Response (when modem doesn’t exist): Wrong modem number
Response (when wrong modem state): Wrong modem state
RESPONSE (XML):
Response:
<xml>
<status>
ok
</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
modem_no (optional parameter) modem number for status change (default = 1). Used only in
multimodem devices
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
BODY:
{"method":"sms.set_modem_state",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,
"status":"enabled"}}
RESPONSE:
{"result": enabled / disabled }
Sample response: {"result":"enabled"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong access token): {"result": "Invalid access token"}
Response (when modem doesn’t exist): {"result": "Wrong modem number"}
RESPONSE (EXTENDED):
Response:
{"result":{"modem_status": enabled / disabled,"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/userid_read?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&username=myuser
RESPONSE:
Response: User ID
Sample response: 24
Response (when username parameter is missing): Missing >>username<< parameter
Response (when user doesn’t exist): Wrong >>username<< parameter
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
BODY:
{"method":"phonebook.userid_read",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"username":"myu
ser"}}
RESPONSE:
{"result": [user ID] }
Sample response: {"result":"24"}
Response (when username parameter is missing): {"result": "Missing >>username<<
parameter"}
Response (when user doesn’t exist): {"result": "Wrong >>username<< parameter"}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
user_id (optional parameter) show only contacts created by user with given ID
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/group_members_read?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&group_id=11
RESPONSE:
Sample response: link
Response (when wrong or missing group_id parameter): Wrong or missing >>group_id<< parameter
Response (when wrong user_id parameter): Wrong >>user_id<< parameter
Response (when wrong public parameter): Wrong >>public<< parameter
Response (when result set is empty): No data to display
RESPONSE (XML):
Response:
Parameter Description
user_id (optional parameter) show only contacts created by user with given ID
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
BODY:
{"method":"phonebook.group_members_read",
"params":{“access_token”:”0005gOjCOlMH8F2BPo8mWqcGzycVHRLq”,"group_id":"11"
}}
RESPONSE:
Sample response:
{
"result": [
{"ID":"1706","Name":"mycontact1","Number":"23456",
"id_user":"1","is_public":"true"},
{"ID":"1693","Name":"mycontact3","Number":"12345",
"id_user":"3","is_public":"false"}
]
}
RESPONSE (EXTENDED):
Sample response:
{
"result": {
"contacts": [
{"ID":"1706","Name":"mycontact1","Number":"23456",
"id_user":"1","is_public":"true"},
{"ID":"1693","Name": "mycontact3","Number":"12345",
"id_user":"3","is_public":"false"}
],
"status": "ok"
}
}
SMSEagle has a number of ready-to-use plugins and integration manuals for an easy and quick integration of
SMSEagle device with external software (Network Monitoring Systems, Authentication Systems and other).
The list grows constantly and is published on SMSEagle website. For a complete and up to date list of plugins
please go to: http://www.smseagle.eu/integration-plugins/
SMSEagle’s database operates on PostgreSQL database engine. You may use a direct access to database for
reading/writing SMS messages directly from/to database via SQL queries.
The database access for external applications is disabled by default. In order to enable it, go to webGUI >
menu Settings and enable to following setting:
Once database access is enabled, it is possible to connect to the database from external application using
the following credentials:
User: smseagleuser
Password: postgreeagle
In the above example the message will belong to user with id_user 1 (default 'admin'). You can find id_user
values for other users in table public."user". Field SenderID contains identification number of SMSEagle
modem. For modem 1 SenderID = smseagle1 and for modem 2 SenderID = smseagle2.
Inserting multipart messages is a bit more tricky, you need to construct also UDH header and store it
hexadecimally written into UDH field. Unless you have a good reason to do this manually, use API.
For long text message, the UDH starts with 050003 followed by byte as a message reference (you can put
any hex value there, but it should be different for each message, D3 in following example), byte for number
of messages (02 in example, it should be unique for each message you send to same phone number) and
byte for number of current message (01 for first message, 02 for second, etc.).
For example long text message of two parts could look like following:
Note: Adding UDH means that you have less space for text, in above example you can use only 153 characters in
single message.
We have added some useful scripts which may be used to delete SMS messages from database through
Linux CLI.
Scripts are located at following directory:
/mnt/nand-user/scripts/
• db_delete – script for deleting SMS from folders Inbox, SentItems older than provided date.
Usage:
./db_delete YYYYMMDDhhmm
• db_delete_7days – script for deleting SMS from folders Inbox, Sentitems older than 7 days.
Usage:
./db_delete_7days
• db_delete_select - script for deleting SMS from chosen databse folder (Inbox, Outbox,
SentItems, Trash). Usage:
./db_delete_select {inbox|outbox|sentitems|trash}
“Simple Network Management Protocol (SNMP) is an Internet-standard protocol for managing devices on IP
networks. It is used mostly in network management systems to monitor network-attached devices for
conditions that warrant administrative attention” (source: Wikipedia).
SMSEagle device has a built-in Net-SNMP agent. The SNMP agent provides access to Linux Host MIB tree
of the device, and additionally (using extension NET-SNMP-EXTEND-MIB) allows access to custom metrics
specific to SMSEagle.
RESULT VALUES
• Using OID
Result values for each custom metric are available and can be fetched from OID given in table above.
Alternatively result values for each custom metric can be fetched using textual names from OID tree
under: NET-SNMP-EXTEND-MIB::nsExtendOutputFull."[METRIC NAME]"
For example:
Result value for parameter GSM_Signal:
NET-SNMP-EXTEND-MIB::nsExtendOutputFull."GSM_Signal"
If your chosen SNMP tool cannot access NET-SNMP-EXTEND-MIB objects, you can download MIB definitions
from: http://www.smseagle.eu/download/NET-SNMP-EXTEND-MIB.txt
Result:
NET-SNMP-EXTEND-MIB::nsExtendOutputFull."GSM_Signal" = STRING: 54
Result:
EXAMPLE OF READING FOLDEROUTBOX_TOTAL VALUE USING NET-SNMP LIBRARY (AND TEXTUAL NAME
OF METRIC)
a) Command for reading the result value:
Result:
NET-SNMP-EXTEND-MIB::nsExtendOutputFull."FolderOutbox_Total" = STRING: 0
Result:
EXAMPLE OF BROWSING SMSEAGLE EXTENSION PARAMETERS IN MIB TREE USING NET-SNMP LIBRARY
a) Command for reading the result value:
Result:
NET-SNMP-EXTEND-MIB::nsExtendOutputFull."GSM_Signal" = STRING: 54
NET-SNMP-EXTEND-MIB::nsExtendOutputFull."GSM_NetName1" = STRING: PLAY
NET-SNMP-EXTEND-MIB::nsExtendOutputFull."GSM_NetName2" = STRING: PLAY
NET-SNMP-EXTEND-MIB::nsExtendOutputFull."FolderInbox_Total" = STRING: 15
NET-SNMP-EXTEND-MIB::nsExtendOutputFull."FolderSent_Last1M" = STRING: 19
NET-SNMP-EXTEND-MIB::nsExtendOutputFull."FolderOutbox_Total" = STRING: 0
"High-availability clusters (also known as HA clusters or fail over clusters) are groups of computers (...) that can be
reliably utilized with a minimum of down-time. They operate by using high availability software to harness
redundant computers in groups or clusters that provide continued service when system components fail. Without
clustering, if a server running a particular application crashes, the application will be unavailable until the crashed
server is fixed. HA clustering remedies this situation by detecting hardware/software faults, and immediately
restarting the application on another system or whole node without requiring administrative intervention, a process
known as failover." (source: Wikipedia)
SMSEagle NXS-family devices has it’s own failover mechanism based on HA-cluster. This feature allows you
to assure high availability of SMSEagle devices in critical environments. To enable failover (HA-cluster) you
need at least 2 devices ('aka' nodes). The failover feature monitors devices working in the cluster, and
detects faults with the following services:
Devices (nodes) should see each other on the network. By default, HA-nodes use 224.0.0.18 multicast IP
address for VRRP (Virtual Router Redundancy Protocol) for communication between two nodes. If nodes are
on the same network (same subnet & IP range) there is no need for any network configuration. If two nodes
are behind firewalls, make sure firewall is configured to accept multicast and VRRP protocol (IP Protocol
#112).
Save configuration. Reboot each device after saving. The configuration should be exactly the same on both
devices in HA-cluster.
Database replication between nodes allows to automatically replicate database content from MASTER to
BACKUP (one direction only). In the current software version, the following content is replicated: Folders
(with messages), Phonebook contacts, Users. Please note that this feature is only available in devices with
hardware Rev.2 and higher.
After correct configuration of the HA-cluster you should access the cluster via its Virtual IP address.
SNMP-monitoring of HA-cluster
Failover feature uses KEEPALIVED-MIB for SNMP monitoring.
Result:
KEEPALIVED-MIB::vrrpInstanceState.1 = INTEGER: master(2)
Our devices runs rsyslog for log managing. Here we describe how to configure additional rules for rsyslog
daemon: rsyslogd. This is only a brief excerpt from rsyslog manual website. Full information is available at:
http://www.rsyslog.com/
• Example:
*.* action(type="omfwd" target="192.168.0.250" port="10514" protocol="tcp"
action.resumeRetryCount="10"
queue.type="linkedList" queue.size="10000")
SMSEagle software is under process of continual improvement. We listen to our customers, and new
releases are based on our customer’s inputs/requests. Software updates are released frequently, and offer
access to new features and fixes to reported issues. Web-GUI offers you a possibility to automatically check
for new software updates. This can be done in two ways:
MANUAL CHECK
In order to manually check for available software updates, go to menu Settings > tab Maintenance. Click on
the button “Check manually now”. At the top pops up a balloon in red with information if it is up-to-date.
AUTOMATIC CHECK
In order to start automatic checks for software updates go to menu Settings > tab Maintenance, and check
the option “Automatically check for software updates”. This will enable periodic checks (once a month) for
available software updates. If a new update is available, a message “Update Available” will appear in menu
Settings> Sysinfo – next to the current software version number.
If you select “Notify Admin about new software version by SMS”, the device will additionally send SMS to
the default admin account (if the phone number is entered in the account) with a notification about new
software update.
Notice: Your SMSEagle device must have a HTTPS connectivity with address www.smseagle.eu in order for this
feature to work.
To make sure that the device is working properly, follow the three steps:
1. Verification of LEDs
2. Checking the device configuration (IP Settings)
3. Check the device logs (description below)
Verification of LEDs
Normal operation of the device is signaled by LEDs as follows:
SIM1 Slow flashing in stand-by mode, Quick flashing when modem 1 in use
SIM2 Slow flashing in stand-by mode, Quick flashing when modem 2 in use
Device logs
Under menu “Settings” > “Sysinfo” you can find latest lines of device logs: modem log, database log and
system log. In case of any problems with the device these logs are a valuable source of troubleshooting
information.
Extended device logs can be downloaded via button “Download device logs” in menu “Settings” > “Sysinfo”.
2. In the case when the device does not respond due to a malfunction or incorrect user settings please
reboot the device by disconnecting and connecting power source (or pressing Reset switch).
3. If you still cannot connect with the device, it is possible to restore to factory IP settings by using the
SW button.
Please note, that after reboot the device will be finishing the process of factory reset, therefore it can take longer
for the system to start.
Warranty
Your SMSEagle comes with a standard 1 year of technical support and hardware repair warranty coverage.
The standard warranty can be extended during device purchase to 3-years coverage (check your purchase
conditions). For a detailed information on warranty terms and conditions check warranty card that comes
with your device or follow the link: www.smseagle.eu/docs/general_warranty_terms_and_conditions.pdf
Service
Before contacting with support team, be sure that you have read Troubleshooting section of this manual.
SMSEagle Support Team is available by email or telephone.
Go to menu Settings > Sysinfo > “Download device logs”. Provide log package to support team when
requested.
MAC address
Each SMSEagle device has its unique MAC address. MAC address is printed on the device body or can be
found in menu Settings > IP Settings
Technical Specification
HARDWARE SPECIFICATION
• Processor type:
o hardware Rev.3, Rev. 2: Broadcom BCM2837 1.2 GHz quad-core ARM Cortex-A53 (64-bit)
o hardware Rev.2, Rev.1: 1xUSB 2.0, 2x DI, 2x DO, 2x RS232 serial ports
• Weight: 350g
• Operating parameters:
LTE FDD: 1-5, 7, 8, 12, 13, 17, 20, 25, 26, 28, 29, 30 (Rx only), 66
o 3G Bands: 1, 2, 4, 5, 8
o Output power:
POWER SUPPLY
AC line input
ANTENNA
• Device type NXS-9750-3G:
o Waveband: GSM,UMTS
o Cable length 3m
o Cable length 3m
SENDING/RECEIVING THROUGHPUT
• Incoming transmission rate: up to 60 SMS/min
SOFTWARE PLATFORM
• Operating system: Linux
• built-in NTP-client
This chapter provides important information about safety procedures. For your safety and that of your
WARNING: Incorrect storage or use of your device may void the manufacturer’s warranty. Failure to
follow these safety instructions could result in fire, electric shock, or other injury or damage.
Disconnect the power plug from AC power source or if any of the following conditions exist:
• the device has been dropped or the case has been otherwise damaged
Be sure about that the use of this product is allowed in your country and in the environment required. As with
any other telecommunication equipment, the use of this product may be dangerous and has to be avoided in
the following areas: where it can interfere with other electronic devices in environments such as hospitals,
airports, aircrafts, etc.; where there is risk of explosion such as gasoline stations, oil refineries, etc.
It is responsibility of the user to enforce the country regulation and the specific environment regulation.
Do not disassemble the product; any mark of tampering will compromise the warranty validity.
Every device has to be equipped with a proper antenna with specific characteristics. The antenna has to be
installed with care in order to avoid any interference with other electronic devices and has to be installed with
the guarantee of a minimum 20 cm distance from the body. In case of this requirement cannot be satisfied,
the system integrator has to assess the final product against the SAR regulation.
DISCLAIMER: The manufacturer is not responsible for any damages caused by inappropriate installation, not
maintaining the proper technical condition or using a product against its destination.
EU declaration of conformity
Hereby, PROXIMUS Radoslaw Janowski, owner of SMSEagle brand, declares that the radio equipment type
SMSEagle NXS-9750-3G, NXS-9750-4G is in compliance with Directive 2014/53/EU.
The full text of the EU declaration of conformity is available at the following internet address:
www.smseagle.eu/certification
This device complies with part 15 of the FCC rules. Operation is subject to the following two conditions:
Note:
This equipment has been tested and found to comply with the limits for a Class B device, pursuant to part 15
of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in
a business/commercial non-residential environment. However, there is no guarantee that interference will
not occur in a particular installation. If this equipment does cause harmful interference to radio or television
reception, which can be determined by turning the equipment off and on, the user is encouraged to try to
correct the interference by one or more of the following measures:
Important:
This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in
accordance with the manufacturer’s instruction manual, may cause harmful interference with radio
communications. Operation of this equipment in a residential area is likely to cause harmful interference, in
which case you will be required to correct the interference at your own expense. The FCC regulations provide
that changes or modifications not expressly approved by SMSEagle™ could void your authority to operate this
equipment. This product has demonstrated EMC compliance under conditions that included the use of
compliant peripheral devices (antennas) and shielded cables between system components. It is important
that you use compliant peripheral devices and shielded cables between system components to reduce the
possibility of causing interference to radios, televisions, and other electronic devices.
This device complies with Industry Canada license-exempt RSS standard(s). Operation is subject to the
following two conditions:
This Class B digital apparatus meets the requirements of the Canadian Interference-Causing Equipment
Regulations.
Your SMSEagle device contains lithium-ion battery for RTC backup. Dispose of the device and/or battery in
accordance with local environmental laws and guidelines.
The symbol above means that according to local laws and regulations your product shall be disposed of
separately from household waste. When this product reaches its end of life, take it to a collection point
designated by local authorities. The separate collection and recycling of your product at the time of disposal
will help conserve natural resources and ensure that it is recycled in a manner that protects human health
and the environment.