Inputs

Inputs define how other devices and programs hand messages to the NAS. Turn each input on with the switch at the top right. When an input is on, the page shows a ready-to-use Example with the NAS address, the token and your mobile number. Test checks from the NAS whether the input answers. No message is sent.

You can adjust the examples. Under NAS address in the examples choose whether the IP address or the name of the NAS appears. Under Your mobile number for the examples enter the target number.

REST API

For scripts and programs: an HTTP call POST /api/sms/send with JSON, like the curl-sms.com API. Query the status of a message with GET /api/sms/<id>. The response is 202 with job number, status, parts and price. More examples and raw data has PowerShell and the raw HTTP request.

GET link

A link (GET /send) any device can call. Every call sends a message at once. Parameters: to (recipient, write “+” as %2B), text (URL-encoded) and, with token security, token. The GET link uses the same port as the REST API.

Email (SMTP)

Devices that can send email send a text message instead. In the device, enter the NAS as the mail server (port 2525 by default, no encryption, no login). As the recipient address use the number with 00 instead of + before the @, for example 00491511234567@nas. Whatever follows the @ does not matter.

Note:

MQTT

For home automation. The NAS signs in to your MQTT broker and listens on topics.

DSM webhook

DSM reports events such as a full disk or a failed backup as a text message to a fixed number. Enter the number under Recipient of DSM notifications and save.

To set up the webhook in DSM:

  1. Copy the Webhook URL shown.
  2. Open Control Panel > Notification > Webhooks.
  3. Click Add and choose the provider Custom.
  4. Paste the URL as the Webhook URL and choose HTTP method GET. DSM adds the parameter text = @@TEXT@@ itself.
  5. Pick the notification rules and click Send test message.

Note: